The religious leaders who tried to teach their followers about their ideas of gods may have been wrong about a lot of things, and right about others, but both can be instructive to research.
I believe folks who are offered the responsibility of building and maintaining complex systems, or the skills to manipulate those systems even without authorization can benefit from studying different systems of ethics and morality as well.
Even if you don't agree with a particular theological system or its teachings writ large, it can be instructive to question and explore why that religion promotes each of those teachings. It can be interesting to see what each taught once, but now sweeps under the rug.
If curiosity drives you to hack, it may be rewarding for you to delve into the religious writings, traditions, and histories of cultures around the world! Give it a try!