“God does not play dice with the universe” is one of Einstein’s most famous quotes, and also the most misinterpreted. Because he referred to God, people think he was religious. In reality, he was simply using God as a metaphor.
Plus, when he said “does not play with dice,” Einstein was referring to the unpredictable nature of subatomic particles in quantum physics. So, basically he meant to outline how weird quantum mechanics is as a theory.