1 Chronicles 15:2 NLT
The Lord will stay with you as long as you stay with him! Whenever you seek him, you will find him. But if you abandon him, he will abandon you.
This reminds me of a story I heard many years ago. A couple married over 50 years was traveling in their old pick up truck. The husband was driving. The wife looked over at the husband and asked "what happened to us?" The husband, with a puzzled look on his face, asked "what do you mean?" When they first started dating she snuggled up with him as he drove. As the years went by they were sitting further and further apart. The wife wondered what happened to push them apart. The husband looks over at the wife and said "I'm not the one who moved."
That's how it is with our relationship with God. He remains in the driver seat and it's up to us to snuggle up close to Him as He drives.