1 By the time Rehoboam had secured his kingdom and was strong again, he, and all Israel with him, had virtually abandoned God and his ways. 2 In Rehoboam's fifth year, because he and the people were unfaithful to God, Shishak king of Egypt invaded as far as Jerusalem. He came with twelve hundred chariots and sixty thousand cavalry, and soldiers from all over - the Egyptian army included Libyans, Sukkites, and Ethiopians. They took the fortress cities of Judah and advanced as far as Jerusalem itself. 5 Then the prophet Shemaiah, accompanied by the leaders of Judah who had retreated to Jerusalem before Shishak, came to Rehoboam and said, "God's word: You abandoned me; now I abandon you to Shishak." 6 The leaders of Israel and the king were repentant and said, "God is right." 7 When God saw that they were humbly repentant, the word of God came to Shemaiah: "Because they are humble, I'll not destroy them - I'll give them a break; I won't use Shishak to express my wrath against Jerusalem. What I will do, though, is make them Shishak's subjects - they'll learn the difference between serving me and serving human kings."
9 Then Shishak king of Egypt attacked Jerusalem. He plundered the treasury of The Temple of God and the treasury of the royal palace - he took everything he could lay his hands on. He even took the gold shields that Solomon had made. 10 King Rehoboam replaced the gold shields with bronze shields and gave them to the guards who were posted at the entrance to the royal palace. Whenever the king went to God's Temple, the guards went with him carrying the shields, but they always returned them to the guardroom. 12 Because Rehoboam was repentant, God's anger was blunted, so he wasn't totally destroyed. The picture wasn't entirely bleak - there were some good things going on in Judah.
13 King Rehoboam regrouped and reestablished his rule in Jerusalem. He was forty-one years old when he became king and continued as king for seventeen years in Jerusalem, the city God chose out of all the tribes of Israel as the special presence of his Name. His mother was Naamah from Ammon. But the final verdict on Rehoboam was that he was a bad king - God was not important to him; his heart neither cared for nor sought after God.
15 The history of Rehoboam, from start to finish, is written in the memoirs of Shemaiah the prophet and Iddo the seer that contain the family trees. There was war between Rehoboam and Jeroboam the whole time. Rehoboam died and was buried with his ancestors in the City of David. His son Abijah ruled after him.