That's kinda the definition of the word so it isn't surprising.
Nepotism as a negative is a relatively new phenomenon, historically speaking. I suspect this is what you actually meant.