you shall set apart to the Lord all that first opens the womb. All the firstborn of your livestock that are males shall be the Lord's.
But every firstborn donkey you shall redeem with a sheep; if you do not redeem it, you must break its neck. Every firstborn male among your children you shall redeem.
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.
When Pharaoh stubbornly refused to let us go, the Lord killed all the firstborn in the land of Egypt, from human firstborn to the firstborn of animals. Therefore I sacrifice to the Lord every male that first opens the womb, but every firstborn of my sons I redeem.'
It shall serve as a sign on your hand and as an emblem on your forehead that by strength of hand the Lord brought us out of Egypt."
References for Exodus 13:16
When Pharaoh let the people go, God did not lead them by way of the land of the Philistines, although that was nearer; for God thought, "If the people face war, they may change their minds and return to Egypt."
So God led the people by the roundabout way of the wilderness toward the Red Sea. The Israelites went up out of the land of Egypt prepared for battle.
References for Exodus 13:18
And Moses took with him the bones of Joseph who had required a solemn oath of the Israelites, saying, "God will surely take notice of you, and then you must carry my bones with you from here."
They set out from Succoth, and camped at Etham, on the edge of the wilderness.
The Lord went in front of them in a pillar of cloud by day, to lead them along the way, and in a pillar of fire by night, to give them light, so that they might travel by day and by night.
Neither the pillar of cloud by day nor the pillar of fire by night left its place in front of the people.