The LORD said to Moses, “Consecrate to me every firstborn male. The first offspring of every womb among the Israelites belongs to me, whether human or animal.”
Then Moses said to the people, “Commemorate this day, the day you came out of Egypt, out of the land of slavery, because the LORD brought you out of it with a mighty hand. Eat nothing containing yeast. Today, in the month of Aviv, you are leaving. When the LORD brings you into the land of the Canaanites, Hittites, Amorites, Hivites and Jebusites—the land he swore to your ancestors to give you, a land flowing with milk and honey—you are to observe this ceremony in this month: For seven days eat bread made without yeast and on the seventh day hold a festival to the LORD. Eat unleavened bread during those seven days; nothing with yeast in it is to be seen among you, nor shall any yeast be seen anywhere within your borders. On that day tell your son, ‘I do this because of what the LORD did for me when I came out of Egypt.’ This observance will be for you like a sign on your hand and a reminder on your forehead that this law of the LORD is to be on your lips. For the LORD brought you out of Egypt with his mighty hand. You must keep this ordinance at the appointed time year after year.
“After the LORD brings you into the land of the Canaanites and gives it to you, as he promised on oath to you and your ancestors, you are to give over to the LORD the first offspring of every womb. All the firstborn males of your livestock belong to the LORD. Redeem with a lamb every firstborn donkey, but if you do not redeem it, break its neck. Redeem every firstborn among your sons.
“In days to come, when your son asks you, ‘What does this mean?’ say to him, ‘With a mighty hand the LORD brought us out of Egypt, out of the land of slavery. When Pharaoh stubbornly refused to let us go, the LORD killed the firstborn of both people and animals in Egypt. This is why I sacrifice to the LORD the first male offspring of every womb and redeem each of my firstborn sons.’ And it will be like a sign on your hand and a symbol on your forehead that the LORD brought us out of Egypt with his mighty hand.”
When Pharaoh let the people go, God did not lead them on the road through the Philistine country, though that was shorter. For God said, “If they face war, they might change their minds and return to Egypt.” So God led the people around by the desert road toward the Red Sea. The Israelites went up out of Egypt ready for battle.
Moses took the bones of Joseph with him because Joseph had made the Israelites swear an oath. He had said, “God will surely come to your aid, and then you must carry my bones up with you from this place.”
After leaving Sukkoth they camped at Etham on the edge of the desert. By day the LORD went ahead of them in a pillar of cloud to guide them on their way and by night in a pillar of fire to give them light, so that they could travel by day or night. Neither the pillar of cloud by day nor the pillar of fire by night left its place in front of the people.