The LORD said to Moses and Aaron,
"When Pharaoh says to you, ‘Do one of your amazing acts,' then say to Aaron, ‘Take your shepherd's rod and throw it down in front of Pharaoh, and it will turn into a cobra.'"a10
So Moses and Aaron went to Pharaoh and did just as the LORD commanded. Aaron threw down his shepherd's rod in front of Pharaoh and his officials, and it turned into a cobra.
Then Pharaoh called together his wise men and wizards, and Egypt's religious expertsb did the same thing by using their secret knowledge.
Each one threw down his rod, and they turned into cobras. But then Aaron's rod swallowed up each of their rods.
However, Pharaoh remained stubborn. He wouldn't listen to them, just as the LORD had said.