Niccolò Machiavelli said this quote

Only those means of security are good are certain are lasting that depend on yourself and your own vigor.