Thomas Hobbes said this quote

And because the condition of man . . . is a condition of war of every one against every one, in which case every one is governed by his own reason, and there is nothing he can make use of that may not be a help unto him in preserving his life against his enemies; it followeth that in such a condition every man has a right to every thing, even to one another's body. And therefore, as long as this natural right of every man to every thing endureth, there can be no security to any man, how strong or wise soever he be, of living out the time which nature ordinarily alloweth men to live. And consequently it is a precept, or general rule of reason: that every man ought to endeavour peace, as far as he has hope of obtaining it; and when he cannot obtain it, that he may seek and use all helps and advantages of war. The first branch of which rule containeth the first and fundamental law of nature, which is: to seek peace and follow it. The second, the sum of the right of nature, which is: by all means we can to defend ourselves.