Yes. Common golf etiquette is that slower players let others play through. It is also usual to limit groups to four, not five players. But, age of entitlement strikes again.
If they tell you to go - don’t argue.
Take your business elsewhere. You don’t need rude treatment.
They’re within their rights to refuse to serve you but it works both ways.
Speak up and let others know how you were dealt with and move on.