New King James Version (NKJV)
2 Chronicles 11
21 Now Rehoboam loved Maachah the granddaughter of Absalom more than all his wives and his concubines; for he took eighteen wives and sixty concubines, and begot twenty-eight sons and sixty daughters.
22 And Rehoboam appointed Abijah the son of Maachah as chief, to be leader among his brothers; for he intended to make him king.
23 He dealt wisely, and dispersed some of his sons throughout all the territories of Judah and Benjamin, to every fortified city; and he gave them provisions in abundance. He also sought many wives for them.
2 Chronicles 12
1 Now it came to pass, when Rehoboam had established the kingdom and had strengthened himself, that he forsook the law of the Lord, and all Israel along with him.
2 And it happened in the fifth year of King Rehoboam, that Shishak king of Egypt came up against Jerusalem, because they had transgressed against the Lord,
3 with twelve hundred chariots, sixty thousand horsemen, and people without number who came with him out of Egypt--the Lubim and the Sukkiim and the Ethiopians.
4 And he took the fortified cities of Judah and came to Jerusalem.
5 Then Shemaiah the prophet came to Rehoboam and the leaders of Judah, who were gathered together in Jerusalem because of Shishak, and said to them, "Thus says the Lord: ’You have forsaken Me, and therefore I also have left you in the hand of Shishak.’ "
6 So the leaders of Israel and the king humbled themselves; and they said, "The Lord is righteous."
7 Now 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. My wrath shall not be poured out on Jerusalem by the hand of Shishak.
8 Nevertheless they will be his servants, that they may distinguish My service from the service of the kingdoms of the nations."