1 Chronicles 28:9

9 And you, Solomon my son, get knowledge of the God of your father, and be his servant with a true heart and with a strong desire, for the Lord is the searcher of all hearts, and has knowledge of all the designs of men's thoughts; if you make search for him, he will be near you; but if you are turned away from him, he will give you up for ever.

1 Chronicles 28:9 Meaning and Commentary

1 Chronicles 28:9

And thou, Solomon my son
Who was present in this assembly, and presented to them by David as his successor, and their future king: and having addressed them, he turns himself to him, and exhorts him, saying,

know thou the God of thy father;
who was his Father and covenant God, and whom he served and worshipped, and who had bestowed upon him many favours, both temporal and spiritual; and having had such an experience of his goodness, he exhorts his son to seek to know more and more of him, and to own and acknowledge him as his God, and to love and fear him:

serve him with a perfect heart, and with a willing mind;
cordially and sincerely, cheerfully and freely, neither in an hypocritical manner, nor through force and constraint, nor with loathing and weariness:

for the Lord searcheth all hearts;
the hearts of all men, even of kings, and knows from what principles and with what views and in what manor they serve him:

and understandeth all the imaginations of the thought;
not only the thoughts of the heart, when regularly formed and ranged in order, hut even the very beginning of them, the first motions of the mind, and before they are well formed, see ( Genesis 6:5 ) ( Psalms 139:2 )

if thou seek him;
by prayer and supplication in his house and ordinances:

he will be found of thee;
grant his presence and bestow his favours, see ( Isaiah 4:6 )

but if thou forsake him:
his word, his ways, his worship:

he will cast thee off for ever;
from being king, or enjoying that peace, prosperity, and happiness, which otherwise would be enjoyed.

1 Chronicles 28:9 In-Context

7 I will keep his kingdom in its place for ever, if he is strong at all times to do my orders and keep my rules, as at this day.
8 So now, before the eyes of all Israel, the people of the Lord, and in the hearing of our God, keep and be true to the orders of the Lord your God; so that you may have this good land for yourselves and give it for a heritage to your children after you for ever.
9 And you, Solomon my son, get knowledge of the God of your father, and be his servant with a true heart and with a strong desire, for the Lord is the searcher of all hearts, and has knowledge of all the designs of men's thoughts; if you make search for him, he will be near you; but if you are turned away from him, he will give you up for ever.
10 Now then, take note; for the Lord has made selection of you to be the builder of a house for the holy place. Be strong and do it.
11 Then David gave to his son Solomon the design of the doorway of the house of God and of its houses and its store-houses, and the higher rooms and the inner rooms and the place for the mercy-seat;
The Bible in Basic English is in the public domain.