1 Chronicles 28:9

9 "As for you, my son Solomon, know the God of your father, and 1serve Him with a whole heart and a willing mind; 2for the LORD searches all hearts, and understands every intent of the thoughts. 3If you seek Him, He will let you find Him; but if you forsake Him, He will reject you forever.