Solomon admits in the early verses of the chapter that he was taught by his father David (Proverbs 4:3-4), who taught him primarily to value and acquire wisdom (Proverbs 4:5,7). Solomon in turn valued this lesson so much that later when G-d appeared to him and asked him what he desired for a gift (2 Chronicles 1:7; 1 Kings 3:5.htm), Solomon could only but remember his father's words and advice that wisdom was the principal acquisition (Proverbs 4:7) that would bring everything else . As such, Solomon made his request for wisdom (2 Chronicles 1:10).
Solomon's story demonstrates how important it is that as fathers, we teach our children so that they will grow up knowing how to make wise choices (and the best choices) in life. It is a parent's duty (and especially a father) to teach his children from his own life experiences about the world that they live in and inhabit, and what makes for success in life.
Can you imagine David, who was a failed father of many children, made up for his entire bad parenting with Solomon his last child? After seeing what tragedies resulted from his bad choices and personal failures with his older children, David took parenting his last child gotten from adultery very seriously. David used where he had failed and had many regrets and his own foolish mistakes in the past that he wanted to make amends and correct to teach and guide his youngest child. Hence David advised Solomon and gave him teachings that would make Solomon learn from his father's mistakes and experiences, and avoid those same mistakes and pitfalls in life.
All father's should, like David, give unto their children pearls of wisdom and instruction about how the world works and how best to survive in it. Our children must know what pitfalls to avoid and what will ruin them and prevent them from attaining their desires, happiness and goals from our own teaching and guidance that we must give them. It is when we do such an investment in our children, that they will make wise choices like Solomon, and become successful and respectable citizens of the earth.