Jewish teaching is clear that sexual and erotic activity is permissible only within heterosexual marriage. Any other sexual pleasure is prohibited. Of course, it is difficult for human beings to live up to this principle in real life. The Hebrew Bible and Talmud therefore offer rules and teachings to help individuals live virtuously.