Noun (concept)
Discrimination
the unjust judgement and treatment of others based on their (perceived) belonging to a certain group or category, such as race, gender, religion, or sexual orientation
Firing an expectant mother because of her pregnancy is considered discrimination and prohibited by law.