Though Pharaoh appears to be repentant, he only takes responsibility for the current disaster; he doesn’t acknowledge that his whole pattern of stubborn resistance has been wrong. Note that while Pharaoh is passive in his heart’s “hardening,” he’s still held responsible for his subsequent behavior—the biblical author doesn’t seem concerned about any discrepancy between God’s will and human free will.