Pharaoh was a victim of God's powerful wrath he wanted to be a hindrance to God's amazing deliverance of his people in Egypt and it's a big pity that he was there to harden his heart.
We must know that he's already sealed his fate the moment he decided to enslave the children of Israel, he took on God's wrath and brought it upon himself and the plague that came upon Egypt.
Beloveth we must not be like Pharaoh, there's is no pity for him, his story is a deterrent for people to see that God is not to be messed with.