It got mentioned for a reason. And obviously escalating with HR is a big deal as it comes with career risks for the person you are reporting. Risking someone else's career should be a last resort but seems to be more commonly a knee-jerk reaction with HR becoming weaponised.
The drawback of this is you lose good talent and keep rent-seekers instead.