HR is only on your side when your 'side' aligns with the broader company interest.
They're not your enemy, but not automatically your friend either.
They're not your enemy, but not automatically your friend either.
Of course, gratitude is not a common virtue on the corporate world, and you're now marked for execution in a near future convenient time.