C.s. Lewis said this quote

Never, in peace or war, commit your virtue or your happiness to the future.