(Pro 23:15 KJV) My son, if thine heart be wise, my heart shall rejoice, even mine.
This is Solomon talking to his boy. I have to believe it was written early in his life, when his sons were still young, possibly right after the first one was born. It is sad to say that he is going to be disappointed, or maybe not.
He will be disappointed because his children will not demonstrate wisdom. They will not have wise hearts. He might not be disappointed because it you read through Solomon’s life you will find that at the end he seems to have turned away from God.
So? Life will go much better if we chart our course as God directs us and then stick with it. Our children’s lives will go better also.