It's true, and to some extent the problem is that you hear about the bad HR stories, but rarely the good ones - in which they quietly take action, but nobody except the parties involved ever notice. When HR does their job right, nobody other than those people even notices that they're there.
That said, lots of companies have HR departments that are terrible, so it all depends on whether you think yours is trustworthy and competent or not.
That said, lots of companies have HR departments that are terrible, so it all depends on whether you think yours is trustworthy and competent or not.