Fun fact: Most people who claim to be any religion do not study and are not scholars of their on religion. There is also a problem in english seminar schools where they require that you reaffirm the inerrancy, which is stupid and means that at no point could anyone have ever mistranslated or miscopied a word or letter.
All this means is that people will cherrypick out of context punishments that were given to specific people, one time, for specific crimes and use that to justify their entire worldview.
I'll give 2 examples:
There is no where in the bible that mentions masturbation specifically, but alot of places that say not to be sexually immoral like specific groups. Schlors think that those groups were raping travelors, but we don't actually know what they were doing. The other major reference to masturbation is with a guy who's brother dies, and under law its his job to impregnate the widow so that she has a son to take care of her, and that son would be called his brother's son lineage wise even though its technically his. Instead he goes behind the building and finishes by jacking it and he's struck dead. Some people use that to say "masturbation bad" instead of violating your duties bad.
If you believe the religion, read the book, don't take other people's word for it, its too easy to quote a specific verse out of context.
If you want a wild trip look up the verse in the new testement that says homosexuality is bad, the look up what the old greek word means, unless newer research came out... no one knows. They just decided to throw that in there. Some scholars think that it actually may have meant prostitution or another word I cant say here.