Rehoboam remained in Jerusalem and fortified various towns for the defense of Judah.