Perhaps as Camus had illustrated in the myth of Sisyphus, the struggle itself was enough to fill the heart. Except that with time it was not.
But wouldn’t everybody act more or less the same if there were no religion and instead most of the same rules were held on a purely secular basis?