2 Chronicles 12:5

5 And Shemaiah the prophet hath come in unto Rehoboam and the heads of Judah who have been gathered unto Jerusalem from the presence of Shishak, and saith to them, `Thus said Jehovah, Ye have forsaken Me, and also, I have left you in the hand of Shishak;'

2 Chronicles 12:5 Meaning and Commentary

2 Chronicles 12:5

Then came Shemaiah the prophet to Rehoboam
The same as in ( 2 Chronicles 11:2 ) , there called the man of God:

and to the princes of Judah that were gathered together to Jerusalem
because of Shishak;
through fear of him, and for safety and protection from him, and to consult what was to be done at this critical juncture, whether to fight him, or make peace with him on the best terms they could:

and said unto them, thus saith the Lord, ye have forsaken me;
his law, his word, worship, and ordinances, ( 2 Chronicles 12:1 ) ,

and therefore have I also left you in the hand of Shishak;
suffered him to invade their land, take their fenced cities, and come up to Jerusalem without any opposition, as a punishment of their apostasy; and to explain this providence to them, and call them to repentance, was the prophet sent.

2 Chronicles 12:5 In-Context

3 with a thousand and two hundred chariots, and with sixty thousand horsemen, and there is no number to the people who have come with him out of Egypt -- Lubim, Sukkiim, and Cushim --
4 and he captureth the cities of the bulwarks that [are] to Judah, and cometh in unto Jerusalem.
5 And Shemaiah the prophet hath come in unto Rehoboam and the heads of Judah who have been gathered unto Jerusalem from the presence of Shishak, and saith to them, `Thus said Jehovah, Ye have forsaken Me, and also, I have left you in the hand of Shishak;'
6 and the heads of Israel are humbled, and the king, and they say, `Righteous [is] Jehovah.'
7 And when Jehovah seeth that they have been humbled, a word of Jehovah hath been unto Shemaiah, saying, `They have been humbled; I do not destroy them, and I have given to them as a little thing for an escape, and I pour not out My fury in Jerusalem by the hand of Shishak;
Young's Literal Translation is in the public domain.