The first five books of the Old Testament give laws from God about human sexual behavior.

The Bible has a completely different standard regarding morality.

These laws or commandments cover sex outside of marriage, homosexuality, cross gendering and all sorts of immorality.