For it came to pass that the children of Israel had transgressed against the Lord their God, who had brought them up out of the land of Egypt, from under the hand of Pharaoh king of Egypt, and they feared other gods,