Exodus 10:1kavad
Then the Lord said to Moses, "Go to Pharaoh, for I have hardened his heart and the heart of his servants, that I may perform these signs of Mine among them,
God explains the hardening serves to display his signs.
John 12:40pōroō
"HE HAS BLINDED THEIR EYES AND HE HARDENED THEIR HEART, SO THAT THEY WOULD NOT SEE WITH THEIR EYES AND PERCEIVE WITH THEIR HEART, AND BE CONVERTED AND I HEAL THEM."
Hardened hearts keep people from seeing, turning, and being healed.