Woodrow Wilson actually said...
You need alliances when you are not strong, and you are weak only when you are not true to yourself.
Context
Address at the Unveiling of the Statue to the Memory of Commodore John Barry
05/15/1914