2 Chronicles 12:5-7 (KJV)
5 Then came Shemaiah the prophet to Rehoboam, and to the princes of Judah, that were gathered together to Jerusalem because of Shishak, and said unto them, Thus saith the Lord, Ye have forsaken me, and therefore have I also left you in the hand of Shishak.
6 Whereupon the princes of Israel and the king humbled themselves; and they said, The Lord is righteous.
7 And when the Lord saw that they humbled themselves, the word of the Lord came to Shemaiah, saying, They have humbled themselves; therefore I will not destroy them, but I will grant them some deliverance; and my wrath shall not be poured out upon Jerusalem by the hand of Shishak.
2 Chronicles 12
The Consequences Of Transgressing Against God
The same thing that happened to Rehoboam happens to us as well, because we allow things in our lives to defile the temple of God in us.