38And it shall be, if thou wilt hearken unto all that I command thee, and wilt walk in my ways, and do that is right in my sight, to keep my statutes and my commandments, as David my servant did; that I will be with thee, and build thee a sure house, as I built for David, and will give Israel unto thee. 39And I will for this afflict the seed of David, but not for ever. 40Solomon sought therefore to kill Jeroboam. And Jeroboam arose, and fled into Egypt, unto Shishak king of Egypt, and was in Egypt until the death of Solomon. 41And the rest of the acts of Solomon, and all that he did, and his wisdom, are they not written in the book of the acts of Solomon?42And the time that Solomon reigned in Jerusalem over all Israel was forty years. 43And Solomon slept with his fathers, and was buried in the city of David his father: and Rehoboam his son reigned in his stead.