Not necessarily. When company transitions from a small consulting shop to a bigger org, HR is really there to protect the company from compliance lapses.
In the US, many regulations kick in at 50 employees.
That said, HR is never your pal. Then again, the owner of the company that you drank with in the smaller days wasn't really your pal either.