Exodus 7:22-23
7:22 But the magicians of Egypt did the same by their secret arts, and so Pharaoh’s heart remained hard, and he refused to listen to Moses and Aaron – just as the Lord had predicted.
7:23 And Pharaoh turned and went into his house. He did not pay any attention to this.