Masturbation carried no stigma in ancient Egypt, and it was even believed that Ra masturbated two other gods into existence.