Anyone of us can slip. So when you see your prayers not getting answered and you’ve been acting in pride, stop! Ask for forgiveness and humble yourself.
Read: 2 Chronicles 7:14
Then if my people who are called by my name will humble themselves and pray and seek my face and turn from their wicked ways, I will hear from heaven and will forgive their sins and restore their land.