Henry David Thoreau said this quote

It is desirable that a man live in all respects so simply and preparedly that if an enemy take the town... he can walk out the gate empty-handed and without anxiety.