historical purpose of covenant