So it came from the Hittites and the early Jews, where it was just a night of cleansing before appearing before god, the the Essenes, who held to celibacy except for marriage to procreate, to Bishop Augustine in 300-400 CE who started saying clergy should take up celibacy. Fascinating.