>Religion tends to incorporate ideology, not just produce it.
This. Religion is basically a convenient vehicle for "lifestyle", "ethics" and "ideology", encoded in stories, symbols, and imperatives.
(Which is also why modern "atheist" phenomena like soviet communism or Californian ideology are themselves religious in nature).
It is absolutely not some kind of eternal human nature common to us all to value hard work, and it is not even an emergent phenomenon in many cultures - until, as I said, they come under the sway of capital.