This happened because they did not obey the Lord, their God, but violated his covenant; they did not obey nor do all that Moses, the servant of the Lord, commanded.