Not everybody deserves to be treated equally. They have rights as free agents, but, if they take advantage of those rights, the social contract is broken and it becomes the duty of others to carry out justice for a little and for a lot.
Ethics emerges out of a universal determinism. All humans need the same things: Food, air, water, shelter, healthcare, education. Every human has an inherent right to their survival without being qualified by another.