That's not super true especially because people had multiple wives. Jewish law is just that no sex can exist outside of purposeful procreation. But anal specifically is really dangerous with condoms or prep so I see where they were going with that.
And lesbians are not forbidden by Jewish law or actually in the bible.