Ronald Reagan actually said...
The first amendment of the Constitution was not written to protect the people from religion; that amendment was written to protect religion from government tyranny.
Context
Radio Address to the Nation on Prayer in Schools
02/24/1984