1 Kings 9:4-5
4 As for you, if you walk before Me as your father David walked, with a heart of integrity and in what is right, doing everything I have commanded you, and if you keep My statutes and ordinances,(A)
5 I will establish your royal throne over Israel forever, as I promised your father David: You will never fail to have a man on the throne of Israel.(B)