Harry Truman actually said...
A President may dismiss the abuse of scoundrels, but to be denounced by honest men honestly outraged is a test of greatness that none but the strongest men survive.
Context
Address at the State Capitol, Raleigh, North Carolina
10/18/1948