17 And they strengthened the kingdom of Judah and made Rehoboam, the son of Solomon, secure for three years, for they walked in the way of David and Solomon for three years.