Rejoicing the Father or Wasting Wealth
This verse is about Divine wisdom, but as an object of love. This is not primarily about guidance in life through wisdom, but rather the attitude of the heart toward wisdom. That attitude is one of love. When a father sees this in his son, he is glad. He sees that his teaching not only has an effect in the practice of his life, but his love goes out to it.
In the second line of verse follows the contrast, indicated by the word “but”. The contrast with the love of wisdom here is keeping company with harlots, and not, as we might expect, keeping company with fools. After all, the contrast is usually that between the wise and the fool. But here it is about love. Associating with harlots is experiencing a surrogate love, a false love. However, you gain nothing and lose everything; your entire wealth is wasted (cf. Luke 15:30).
One of the earliest lessons a child must learn is to keep far away from harlots. Today this is especially true of pornography. The warnings against it have been discussed at length in the first part of this book, Proverbs 1-9. Here we see that we must instill in our children a love of wisdom. That will keep them from keeping company with harlots and pornography because it could cause them to lose their wealth and even their life.