1 Kings 11:38

38 Now if you will listen to all that I order you, live according to my ways and do what is right in my view, so that you observe my regulations and mitzvot, as David my servant did; then I will be with you, and I will build you a lasting dynasty, as I built for David; and I will give Isra'el to you.