I have a slightly different take.
The only thing Moses really accepted was the need for law and order.
Jails and prisons don't really work for nomadic peoples so Moses invented a judicial systm run by an all powerful (but invisible) entity that can see and hear everything.
He sold this idea to his people for the most practical and mudane of reasons --- in order to help maintain some semblance of control and unity.
This made perfect sense at the time --- survival demanded it. What makes less sense is simple minded individuals looking toward the firmament (aka sky dome) for guidance thousands of years later when we now know that the only thing up there is air.
Marshferm•1h ago