Woodrow Wilson actually said...
Every man who makes a choice to respect the rights of his neighbors deprives himself of absolute sovereignty, but he does it by promising never to do wrong.
Context
Address at the Coliseum at the State Fair Grounds in Indianapolis, Indiana
09/03/1919