Yes. Let me explain myself, before you judge me.
There's not enough time in the day to invest in everyone. The higher you move up in position, the less time you have to spend with people. As a leader, you have to make a choice. Spend your time wisely on those you trust and see potential in.
Be fair when it comes to how you treat people. Follow the same policy that applies to your entire workforce, but don't confuse fairness with productivity. In sports, coaches make decisions based on players' abilities and urgency within the situation. Why should it be any different in the workplace?
Ultimately, as a worker, it comes back to you. Have you given your supervisor a reason to look your way? How are you standing out from the crowd? As a manager, would you want to invest time in yourself?
Don't confuse favoritism with nepotism. It's not the same. Earn your "favor" with others by your work ethic, professionalism and how you treat others.