This happens in real life with us in corporates, at home. If your boss is in favour of someone other than you and you are deserving still, do they find mistakes, create them to make you feel your efforts are not sufficient. Either it is done consciously or unconsciously. Unconscious bias is everywhere. We may not even realize unless it is pointed out. Well conscious bias is wrong and should not be supported or promoted. But how do we recognise unconscious bias?
At first retrospect. See if we are being bias unconsciously. If yes, work on it. How do we work on it? Start putting yourself in there position you will realise if you are being biased unconsciously.
I will give you an example of how-
You may respect someone maybe for their work or the way have achieved success. You work hard to earn the respect from them. You want to be there favourite as well. This is were you make mistake, you started expecting something in return. If they behave biased consciously you will be heart-broken and shattered. So then, how do we make sure that we don't feel disappointed. Simple if you believe you are a good human, than just keep doing good. Don't expect anything, your life will be much better. I know sometimes we respec someone so much and give them all the importance, but in return what you receive? You will be neglected, your work may not be acknowledged, forget about the praises. You are not even a priority for them. Hurts right??? I have experienced it and good thing is I understood how stupid I was to give so much respect to someone who was not that deserving. So what did I do? Simple I decided that I will stop proving my-self to someone. I am here to do good work be it at work or home. It made my life so much better.
So folks as a saint said "Neki Kar aur Dariya main daal" meaning "Do good and forget about it and don't expect anything in return" or also "Do good discreetly." Live the life and enjoy being a good human. I know being good is difficult in today's world, but keep practicing ;) This is my Mantra from sometime now.