The LORD said to Moses and Aaron,
References for Exodus 7:8
"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.'"
References for Exodus 7:9
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 experts did the same thing by using their secret knowledge.
References for Exodus 7:11
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.