Rehoboam lived in Jerusalem and built up towns for defense in Judah:
Bethlehem, Etam, Tekoa,
Beth Zur, Soko, Adullam,
Gath, Mareshah, Ziph,
Adoraim, Lachish, Azekah,
Zorah, Aijalon and Hebron. These were fortified cities in Judah and Benjamin.
He strengthened their defenses and put commanders in them, with supplies of food, olive oil and wine.
He put shields and spears in all the cities, and made them very strong. So Judah and Benjamin were his.
The priests and Levites from all their districts throughout Israel sided with him.
The Levites even abandoned their pasturelands and property and came to Judah and Jerusalem, because Jeroboam and his sons had rejected them as priests of the LORD
when he appointed his own priests for the high places and for the goat and calf idols he had made.