I’ve seen a lot of claims that Einstein was a religious man, but at least in this quotation, he seems a bit dismissive of Yahweh.
I cannot imagine a God who rewards and punishes the objects of his creation, whose purposes are modeled after our own — a God, in short, who is but a reflection of human frailty. -Albert Einstein, physicist, Nobel laureate (1879-1955)
I think he states his beliefs clearly with these words.
“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.”