When Rehoboam came to Jerusalem, he gathered the people of Judah and Benjamin, 180,000 of the best soldiers, to fight against Israel and return the kingdom to Rehoboam.
But God spoke his word to Shemaiah, the man of God. He said,
"Speak to Judah's King Rehoboam, son of Solomon, and all Israel in Judah and Benjamin.
This is what the LORD says: Don't wage war against your relatives. Everyone, go home. What has happened is my doing." So they obeyed the word of the LORD. They turned back from their attack on Jeroboam.
Rehoboam lived in Jerusalem and built fortified cities in Judah.
He rebuilt Bethlehem, Etam, Tekoa,
Beth Zur, Soco, Adullam,
Gath, Mareshah, Ziph,
Adoraim, Lachish, Azekah,
Zorah, Aijalon, and Hebron. These were fortified cities in Judah and Benjamin.
He strengthened them and put army officers with reserves of food, olive oil, and wine in them.
In each city he stored shields and spears. He made the cities very secure. So Rehoboam held on to Judah and Benjamin.
The priests and Levites in every region of Israel sided with Rehoboam.
The priests abandoned their land and property and went to Judah and Jerusalem because Jeroboam and his descendants rejected them as the LORD's priests.
Instead, Jeroboam appointed [his own] priests for the illegal worship sites and the goat and calf statues he had made as idols.
People from every tribe of Israel who were determined to seek the LORD God of Israel followed the Levitical priests to Jerusalem to sacrifice to the LORD God of their ancestors.
So they strengthened the kingdom of Judah by supporting Rehoboam, son of Solomon, for three years. During [those] three years they lived the way David and Solomon had lived.
Rehoboam married Mahalath, daughter of Jerimoth. (Jerimoth was the son of David and Abihail. Abihail was the daughter of Eliab, son of Jesse.)
Mahalath gave birth to the following sons: Jeush, Shemariah, and Zaham.
After marrying Mahalath, he married Maacah, Absalom's granddaughter. She gave birth to Abijah, Attai, Ziza, and Shelomith.
Rehoboam loved Maacah, Absalom's granddaughter, more than all his other wives and concubines. (He had 18 wives and 60 concubines. He fathered 28 sons and 60 daughters.)
Rehoboam appointed Abijah, son of Maacah, as family head and prince among his brothers. By doing this, Rehoboam could make him king.
He wisely placed his sons in every region of Judah and Benjamin, in every fortified city. He gave them allowances and obtained many wives for them.