Proverbs 22:3

Thomson(i) 3 A prudent man seeing the wicked severely punished instructeth himself: but the foolish passed heedlessly by and were punished.