No he didn't.
"A knowledge of the existence of something we cannot penetrate, of the manifestation of the profoundest reason and the most radiant beauty - it is this knowledge and this emotion that constitute the truly religious attitude; in this sense, and in this sense alone, I am a deeply religious man."
"It was, of course, a lie what you read about my religious convictions, a lie which is being systematically repeated. I do not believe in a personal God and I have never denied this but have expressed it clearly. If something is in me which can be called religious then it is the unbounded admiration for the structure of the world so far as our science can reveal it."
Einstein wrote a 60-page pamphlet on this subject, published in his book of essays. He was a deist, or pantheist if you choose, in the same sense as Thomas Paine, who is also (wrongfully) claimed as an atheist by those who don't do their homework.
John / Billybob