Totally agree. When I was young and foolish I reported harassment to HR. I was friends with a female colleague and we'd go out to lunch every now and then. Our mutual boss would call her in and say things like.. "What did he ask you about at lunch? You know, he's just trying to act like your friend so you tell him secrets." It happened several times, and finally one day I went to HR about it. I was asked to resign literally the same day.
It turned out, as it often does, to be a blessing. And it absolutely taught me the role of HR.