So they strengthened the kingdom of Judah and made Rehoboam son of Solomon strong during three years, and they walked for three years in the way of David and Solomon.