God places on us the responsibility to guard our hearts from hardening. Deut. 15:7, Prov.4:23, Prov. 28: 14 We are warned NOT to harden our hearts.
So what about the passages where God hardens peoples hearts? The main confusion people encounter in this regard has to do with Calvinist’s teachings that say passages which speak of God hardening human hearts prove God’s selective election & determinism from the foundation of the world. That God hardens the hearts of people not elected for heaven so they won’t receive salvation.
But God is not saying one thing and doing another. God is Just! Deut. 32:4, Jeremiah 17:10, Job 34:12 , etc.