Then Shemaiah the prophet came to Rehoboam and the leaders of Judah who had gathered at Jerusalem because of Shishak, and he said to them, “This is what the LORD says: ‘You have forsaken Me; therefore, I have forsaken you into the hand of Shishak.’”
Israel was very much disgraced and weakened by being divided into two kingdoms; yet the kingdom of Judah, having both the temple and the royal city, both the house of David and the house of Aaron, might have done very well if they had continued in the way of their duty; but here we have all out of order there. I.
Commenting on 2 Chronicles 12:1-12
Then came Shemaiah the prophet to Rehoboam,.... The same as in Ch2 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...
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.