The Things which hurt, instruct.
Benjamin Franklin, Poor Richard's almanack (almanac): being the choicest morsels of wisdom, written during the years of the almanack's publication, by that well-known savant, Dr. Benjamin Franklin., Mount Vernon, 1732