The following advice is from a prayer book:

"Pray as if everything depended upon God, act as if everything depended on you."

I think that this is consistent with the idea of NOMA, formulated by the biologist Stephen Gould.

We exist in the material world; God exists in the spiritual world.

The context in which the idea of NOMA was formulated is summarized in my article about futile conflicts between theists and atheists: