Is it true that prostitution reduces rape?

r/

Me and a mate from Thailand were discussing about this. My mate pointed out that over here (new Zealand) prostitution even though legal it’s quite expensive but in Thailand it’s quite cheap so less men have the urge to rape. What do yall think?