That is simply not true. He believed in a spirit force behind the universe.
Behind all the discernible concatenations, there remains something subtle, intangible and inexplicable. Veneration for this force is my religion. To that extent, I am in point of fact, religious.” H.G. Kessler, The Diary of a Cosmopolitan (London: Weidenfeld and Nicolson, 1971), p.322, quoted in Max Jammer, Einstein and Religion (Princeton, NJ: Princeton University Press. 1999), p.40.
“I am not an atheist, and I don’t think I can call myself a pantheist.” G.S. Viereck, Glimpses of the Great (Macaulay, New York 1936) p.186; Jammer, p.48.
“Then there are the fanatical atheists whose intolerance is of the same kind as the intolerance of the religious fanatics and comes from the same source.” Einstein to an unidentified addressee dated 7th August 1941. Einstein archive reel 54-927; Jammer p.97.
"There is harmony in the cosmos which I, with my limited human mind, am able to recognise, yet there are people who say there is no God. But what really makes me angry is that they quote me to support such views." Towards the Further Shore (London Victor Gollancz 1968), p.156; Jammer, p.97.
My religiosity consists of a humble admiration of the infinitely superior spirit, …That superior reasoning power forms my idea of God.” Albert Einstein, The Quotable Einstein, ed. Alice Calaprice (Princeton, NJ: Princeton University Press, 2005), pp.195-6.
Interestingly enough, the laws of the universe was a very integral aspect to Einstein's view of God.
“Every scientist becomes convinced that the laws of nature manifest the existence of a spirit vastly superior to that of men.” A. Einstein to P. Wright 24 January 1936, Einstein Archive reel 52-337; Jammer, p.93.
“Everyone who is seriously involved in the pursuit of science becomes convinced that a spirit is manifest in the laws of the universe – a spirit vastly superior to that of man.” Quoted in H. Dukas and B. Hoffman, Albert Einstein – The Human Side (USA Princeton University Press 1981); Jammer, p.144.
My God created laws… His universe is not ruled by wishful thinking but by immutable laws.” Einstein in conversation with W. Hermann in Hermann’s book Einstein and the Poet (USA Branden Press, 1983), p.132; Jammer, p.123.