What you’re describing seems to be unequal justice for the poor rather than an in group or out group dynamic but it’s not clear because you’re mixing ideas. Note that in Ancient Roman society there wealthy Plebeians and poor Patricians.
The Greeks had a similar arrangement in their various city states with regards to citizenship and non-citizenship (the helots being the most legible example of this).
I would encourage you to consider that you are at least an order of magnitude not thoughtful enough to really understand what we’re talking about and keep that in mind when it occurs to you to use insults.