Proverbs 14:19

The evil bow before the good; and the wicked at the gates of the righteous.

The saying stands within the larger body of proverbs that runs from chapter 1 through chapter 24. That body is credited chiefly to Solomon as its author. Its contents were probably assembled by him personally or at least within his lifetime.