Proverbs 22:3

Brenton(i) 3 An intelligent man seeing a bad man severely punished is himself instructed, but fools pass by and are punished.