Nobody in the last three hundred years has said it any better than Spinoza.
THAT IN A FREE STATE EVERY MAN MAY
THINK WHAT HE LIKES, AND SAY WHAT HE THINKS.
If men's minds were as easily controlled as their tongues, every king would sit safely on his throne, and government by compulsion would cease; for every subject would shape his life according to the intentions of his rulers, and would esteem a thing true or false, good or evil, just or unjust, in obedience to their dictate. However, we have shown already that no man's mind can possibly lie wholly at the disposition of another, for no one can willingly transfer his natural right of free reason and judgment, or be compelled so to do. For this reason government which attempts to control minds is accounted tyrannical, and it is considered an abuse of sovereignty and a usurpation of the rights of subjects, to seek to prescribe what shall be accepted as true, or rejected as false, or what opinions should actuate men in their worship of God. All these questions fall within a man's natural right, which he cannot abdicate even with his own consent. I admit that the judgment can be biassed in many ways, and to an almost incredible degree, so that while exempt from direct external control it may be so dependent on another man's words, that it may fitly be said to be ruled by him; but although this influence is carried to great lengths, it has never gone so far as to invalidate the statement, that every man's understanding is his own, and that brains are as diverse as palates.
[...]
However unlimited, therefore, the power of a sovereign may be, however implicitly it is trusted as the exponent of law and religion, it can never prevent men from forming judgments according to their intellect, or being influenced by any given emotion. It is true that it has the right to treat as enemies all men whose opinions do not, on all subjects, entirely coincide with its own; but we are not discussing its strict rights, but its proper course of action. I grant that it has the right to rule in the most violent manner, and to put citizens to death for very trivial causes, but no one supposes it can do this with the approval of sound judgment. Nay, inasmuch as such things cannot be done without extreme peril to itself, we may even deny that it has the absolute power to do them, or, consequently, the absolute right; for the rights of the sovereign are limited by his power.
Since, therefore, no one can abdicate his freedom of judgment and feeling; since every man is by indefeasible natural right the master of his own thoughts, it follows that men thinking in diverse and contradictory fashions, cannot, without disastrous results, be compelled to speak only according to the dictates of the supreme power. Not even the most experienced, to say nothing of the multitude, know how to keep silence. Men's common failing is to confide their plans to others, though there be need for secrecy, so that a government would be most harsh which deprived the individual of his freedom of saying and teaching what he thought; and would be moderate if such freedom were granted.
[...]
It follows, plainly, from the explanation given above, of the foundations of a state, that the ultimate aim of government is not to rule, or restrain, by fear, nor to exact obedience, but contrariwise, to free every man from fear, that he may live in all possible security; in other words, to strengthen his natural right to exist and work - without injury to himself or others.
No, the object of government is not to change men from rational beings into beasts or puppets, but to enable them to develop their minds and bodies in security, and to employ their reason unshackled; neither showing hatred, anger, or deceit, nor watched with the eyes of jealousy and injustice. In fact, the true aim of government is liberty.
Read the whole thing.