1Kgs 2:4

4Then the Lord will establish his word that he spoke concerning me: ‘If your heirs take heed to their way, to walk before me in faithfulness with all their heart and with all their soul, there shall not fail you a successor on the throne of Israel.’