The prophet Shemaiah then met with Rehoboam and Judah's leaders, who had all fled to Jerusalem because of Shishak. Shemaiah told them, "This is what the LORD says: You have abandoned me, so I am abandoning you to Shishak."
When the LORD saw their change of heart, he gave this message to Shemaiah: "Since the people have humbled themselves, I will not completely destroy them and will soon give them some relief. I will not use Shishak to pour out my anger on Jerusalem.
So King Shishak of Egypt came to Jerusalem and took away all the treasures of the Temple of the LORD and of the royal palace, including all of Solomon's gold shields.
Because Rehoboam humbled himself, the LORD's anger was turned aside, and he did not destroy him completely. And there was still goodness in the land of Judah.
King Rehoboam firmly established himself in Jerusalem and continued to rule. He was forty-one years old when he became king, and he reigned seventeen years in Jerusalem, the city the LORD had chosen from among all the tribes of Israel as the place to honor his name. Rehoboam's mother was Naamah, a woman from Ammon.
The rest of the events of Rehoboam's reign, from beginning to end, are recorded in The Record of Shemaiah the Prophet and in The Record of Iddo the Seer, which are part of the genealogical record. Rehoboam and Jeroboam were continually at war with each other.