Here is my non-believer opinion.

The “rules” that “god” has put forth had good reasons behind them. And it wasn’t so that you would avoid hell. They helped people live better/healthier lives.

Not having sex until marriage was probably meant to stop bastard children and the mothers stranded with them. Because, back then there was no birth control.

Another example that I have half forgotten is the promotion of drinking alcohol. This was probably because beer and wine were the safest (bacteria free) beverages around at that time.

You probably could look around on the net and find a bunch of other good things they teach you. I read all about it once.