There is no such thing as freedom, but everything in the world happens solely according to the laws of nature.
 Immanuel Kant, Critique of Pure Reason (1791). copy citation

add
Author Immanuel Kant
Source Critique of Pure Reason
Topic freedom law
Date 1791
Language English
Reference
Note Translated by J. M. D. Meiklejohn
Weblink http://www.gutenberg.org/files/4280/4280-h/4280-h.htm

Context

“That is to say, there must exist an absolute spontaneity of cause, which of itself originates a series of phenomena which proceeds according to natural laws—consequently transcendental freedom, without which even in the course of nature the succession of phenomena on the side of causes is never complete.
ANTITHESIS.
There is no such thing as freedom, but everything in the world happens solely according to the laws of nature. PROOF.
Granted, that there does exist freedom in the transcendental sense, as a peculiar kind of causality, operating to produce events in the world—a faculty, that is to say, of originating a state, and consequently a series of consequences from that state.” source