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. They had worshiped other gods
Therefore the Lord his God gave him into the hand of the king of Aram, who defeated him and took captive a great number of his people and brought them to Damascus. He was also given into the hand of the king of Israel, who defeated him with great slaughter.
When in the future your child asks you, ‘What does this mean?’ you shall answer, ‘By strength of hand the Lord brought us out of Egypt, from the house of slavery.
Moses said to the people, “Remember this day on which you came out of Egypt, out of the house of slavery, because the Lord brought you out from there by strength of hand; no leavened bread shall be eaten.
Terror and dread fell upon them; by the might of your arm, they became still as a stone until your people, O Lord, passed by, until the people whom you acquired passed by.
He said, “If you will listen carefully to the voice of the Lord your God, and do what is right in his sight, and give heed to his commandments and keep all his statutes, I will not bring upon you any of the diseases that I brought upon the Egyptians, for I am the Lord who heals you.”
Say therefore to the Israelites: I am the Lord, and I will free you from the burdens of the Egyptians and deliver you from slavery to them. I will redeem you with an outstretched arm and with great acts of judgment.
Therefore, the days are surely coming, says the Lord, when it shall no longer be said, “As the Lord lives who brought the people of Israel up out of the land of Egypt,”
They did not say, “Where is the Lord, who brought us up from the land of Egypt, who led us in the wilderness, in a land of deserts and pits, in a land of drought and deep darkness, in a land that no one passes through, where no one lives?”
But this is the covenant that I will make with the house of Israel after those days, says the Lord: I will put my law within them, and I will write it on their hearts, and I will be their God, and they shall be my people.
Thus says the Lord, the God of Israel: I myself made a covenant with your ancestors when I brought them out of the land of Egypt, out of the house of slavery, saying,
and say to them: Thus says the Lord God: On the day when I chose Israel, I swore to the offspring of the house of Jacob—making myself known to them in the land of Egypt—I swore to them, saying, “I am the Lord your God.”
And I said to them, “Cast away the detestable things on which your eyes feast, every one of you, and do not defile yourselves with the idols of Egypt; I am the Lord your God.”
“You shall make for yourselves no idols and erect no carved images or pillars, and you shall not place figured stones in your land, to worship at them, for I am the Lord your God.
I am the Lord your God who brought you out of the land of Egypt, to be their slaves no more; I have broken the bars of your yoke and made you walk erect.
“When you go out to war against your enemies and see horses and chariots, an army larger than your own, do not fear them, for the Lord your God is with you, who brought you up from the land of Egypt.
Remember that you were a slave in the land of Egypt, and the Lord your God brought you out from there with a mighty hand and an outstretched arm; therefore the Lord your God commanded you to keep the Sabbath day.
It was because the Lord loved you and kept the oath that he swore to your ancestors that the Lord has brought you out with a mighty hand and redeemed you from the house of slavery, from the hand of Pharaoh king of Egypt.
Now the angel of the Lord went up from Gilgal to Bochim and said, “I brought you up from Egypt and brought you into the land that I had promised to your ancestors. I said, ‘I will never break my covenant with you.
and I said to you, ‘I am the Lord your God; you shall not pay reverence to the gods of the Amorites in whose land you live.’ But you have not given heed to my voice.”]]