Lord Acton said this quote

Liberty is not the power of doing what we like, but the right to do what we ought.