ESV: And this occurred because the people of Israel had sinned 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 had feared other gods
NIV: All this took place because the Israelites had sinned against the Lord their God, who had brought them up out of Egypt from under the power of Pharaoh king of Egypt. They worshiped other gods
NASB: Now this came about because the sons of Israel had sinned against the Lord their God, who had brought them up from the land of Egypt, from under the hand of Pharaoh, king of Egypt; and they had feared other gods.
CSB: This disaster happened because the people of Israel sinned against the Lord their God who had brought them out of the land of Egypt from the power of Pharaoh king of Egypt and because they worshiped other gods.
NLT: This disaster came upon the people of Israel because they worshiped other gods. They sinned against the Lord their God, who had brought them safely out of Egypt and had rescued them from the power of Pharaoh, the king of Egypt.
KJV: For so it was, that the children of Israel had sinned against the Lord their God, which had brought them up out of the land of Egypt, from under the hand of Pharaoh king of Egypt, and had feared other gods,
NKJV: For so it was that the children of Israel had sinned 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 had feared other gods,