It is impossible to prove if God exists.
it is also impossible to prove that God does NOT exist!
In the Old Testament, God's favor always came with a price.
God in OT enters in agreements with his people (aka covenants). Some of those covenants were conditional (Moses, Abraham) whereas others have no condition linked to the blessing (David 2Sam 7).