The LORD said to Moses, "See, I've made you like God to Pharaoh, and your brother Aaron will be your prophet.
You will say everything that I command you, and your brother Aaron will tell Pharaoh to let the Israelites out of his land.
But I'll make Pharaoh stubborn, and I'll perform many of my signs and amazing acts in the land of Egypt.
When Pharaoh refuses to listen to you, then I'll act against Egypt and I'll bring my people the Israelites out of the land of Egypt in military formation by momentous events of justice.
The Egyptians will come to know that I am the LORD, when I act against Egypt and bring the Israelites out from among them."
Moses and Aaron did just as the LORD commanded them.