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