(Proverbs 23:26 KJV) My son, give me thine heart, and let thine eyes observe my ways.
Understanding here relies on context. Much of Proverbs is stand alone statements. Other verses are parts of a paragraph. This is the latter.
The young man in question has shown that he is righteous (verse 24). (Yes, ladies this can be understood as generic and applies also to you.) He is the product of both heredity (verses 22 and 24) and environment (verse 22). He is to “give” (5414) [nathan] his “heart” (3820) to his parents.
He does this by letting his “eyes” (5869) “observe” (delight NASB) (7521) in the “ways” (1870) he was taught and saw demonstrated. I guess you could say this is “Show me you love me by following my teaching.”
This also extends to our relationship with God. He wants us to give Him our hearts. He wants us to live in obedience. This should be obvious but the obvious often needs to be stated.
So? Invest yourself in the One who died and rose again for you. Live in loving obedience.