Endorsing and professing a life of sexual abstinence doesn’t seem to have prevented Catholic priests from raping. I don’t know why you’d think it would work any better for other men.
Avoiding alcohol, on the other hand, probably reduces rape rates. We know that alcohol is implicated not only in rape perpetration but in all violent crimes, because alcohol makes some people more violent.