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