1 Kings 2:4

that the LORD may fulfill His word which He spoke concerning me, saying, "If your sons take heed to their way, to walk before Me in truth with all their heart and with all their soul,' He said, "you shall not lack a man on the throne of Israel.'