Buddhism literally teaches celibacy. Mostly for monks but if you get serious about your practice the advice is always to become celibate in order to make progress. It makes sense as you're trying to remove your desires.