I agree Jonathan. Even if God is playing dice, our wellbeing and our sense of worth increases when we focus on gratitude.
If we "prepare" for hostility, the emotions and feelings that you mention take over and we suffer.
How do we know that God does not play dice with the Universe?
Why do we need a purpose or a meaning?
Deciding that the whole Universe is friendly or unfriendly means we are judging upon whatever we decide is "friendly" or "unfriendly" (pleasant or harmful).
Why cannot be God just probability?
On Sep 10, 2021 Jimena wrote on Is the Universe Friendly?, by Albert Einstein:
We are a part of the Universe