BDBD is Proverb 16:5

Pride of heart is confidence in myself; my own skills, accomplishments, state, possessions, heritage, race, and position. The LORD detests pride of heart. Why? Because it does not recognize that the Lord God is the one who made it all possible. Many verses speak of these things.

I can be happy that I finished a project or a task. That doesn’t mean that I am proud, though I still could be. It all depends if I give God the credit in my heart and with my lips. God makes all things possible. To believe otherwise is false. The Lord detests that. So, his plans are to punish them as a sign to others.