Exodus 10:17 Now therefore forgive, I pray thee, my sin only this once, and intreat the LORD your God, that he may take away from me this death only.
I think that it is easy to read the Bible and not notice how close some people got to knowing God and then walked away. In this passage of Scripture, Pharaoh knows that God exists. He knows that God is more powerful than all of his idols. He could have repented and known God. He chooses not to know God.
He knows that God needs to be intreated, prayed to, asked! He knows that God has power over the death that is happening in his country. He is so close but still rejects God.
God was there. They could see Him. They knew His power in more significant ways than any of us yet chose not to believe. I have known people that said that if God proved He was real, they would believe. Pharaoh gives us the idea that they are lying. Seeing His power doesn’t make everyone want to repent and turn to God.