 Jainism, on the other hand, preached complete celibacy even for young monks and considered celibacy to be an essential behavior to attain moksha.Buddhism is similar to Jainism in this respect.There were, however, significant cultural differences in the various areas where Buddhism spread, which affected the local attitudes toward celibacy.