1 Kings 11:38-39
11:38 You must obey all I command you to do, follow my instructions, do what I approve, and keep my rules and commandments, like my servant David did. Then I will be with you and establish for you a lasting dynasty, as I did for David; I will give you Israel.
11:39 I will humiliate David’s descendants because of this, but not forever.”