Being omniscient, God would know in advance how it all turns out. It's a mystery to me how you disobery a creator who knows in advance how you are going to behave, and who designed you do do exactly whatever it is you do.
Sin lies only in hurting other people unnecessarily. All other "sins" are invented nonsense. Hurting yourself is not sinful--just stupid.Robert A. Heinlein, Time Enough for Love, 1973