Even in laughter the heart may be sorrowful, and mirth may end in heaviness. The unfaithful will be repaid for his own ways; likewise a good man will be rewarded for his ways. A simple man believes everything, but the prudent man carefully considers his ways. A wise man fears and shuns evil, but the fool is hot headed and reckless. He who is quick to become angry will commit folly, and a crafty man is hated. The simple inherit folly, but the prudent are crowned with knowledge.
Stated in text
Proverbs 1:1 and 10:1 attribute these collections to Solomon.