John Locke said this quote

Liberty is not an Idea belonging to Volition, or preferring; but to the Person having the Power of doing, or forbearing to do, according as the Mind shall chuse or direct.