Eventually, Joseph, his brothers, and everyone in his generation died.
But the Israelites were fertile and became populous. They multiplied and grew dramatically, filling the whole land.
Now a new king came to power in Egypt who didn't know Joseph.
References for Exodus 1:8
He said to his people, "The Israelite people are now larger in number and stronger than we are.
Come on, let's be smart and deal with them. Otherwise, they will only grow in number. And if war breaks out, they will join our enemies, fight against us, and then escape from the land."
As a result, the Egyptians put foremen of forced work gangs over the Israelites to harass them with hard work. They had to build storage cities named Pithom and Rameses for Pharaoh.
But the more they were oppressed, the more they grew and spread, so much so that the Egyptians started to look at the Israelites with disgust and dread.
So the Egyptians enslaved the Israelites.
They made their lives miserable with hard labor, making mortar and bricks, doing field work, and by forcing them to do all kinds of other cruel work.
The king of Egypt spoke to two Hebrew midwives named Shiphrah and Puah:
"When you are helping the Hebrew women give birth and you see the baby being born, if it's a boy, kill him. But if it's a girl, you can let her live."