Buddhism does not deny the existence of gods—they are described as powerful beings who can bring rains and victories—but they have no influence on the law that suffering arises from craving. If the mind of a person is free of all craving, no god can make him miserable. Conversely, once craving arises in a person's mind, all the gods in the universe cannot save him from suffering.
Yuval Noah Harari, Sapiens: A Brief History of Humankind
buddhism