The need that G-d gave us also comes within a certain context and that is MARRIAGE. That is in His holy Word. So while I sympathise with this young man's plight, he would have been better off to have gotten counseling. He could achieve sexual release without having another person present. It was seemed to be about the virginity thing with him.
Mortals wrote the Bible, unless the actual hand of God put pen to paper I'll remain a bit skeptical about some of it's interpretation by said mortals.
Counseling and self release is NOT what this man needed, hasn't he suffered enough?