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