John Locke said this quote

No man in civil society can be exempted from the laws of it: for if any man may do what he thinks fit, and there be no appeal on earth, for redress or security against any harm he shall do; I ask, whether he be not perfectly still in the state of nature, and so can be no part or member of that civil society; unless any one will say, the state of nature and civil society are one and the same thing, which I have never yet found any one so great a patron of anarchy as to affirm.