why did God establish a covenant to his people​