Proverbs 29:3 in the King James Version
Whoso loveth wisdom rejoiceth his father: but he that keepeth company with harlots spendeth his substance.
Context
2 When the righteous thrive, the people rejoice; but when the wicked rule, the people groan.
3 Whoever loves wisdom brings joy to his father; but a companion of prostitutes squanders his wealth.
4 The king by justice makes the land stable, but he who takes bribes tears it down.