Nepotism obviously existed before capitalism, and it will surely exist at some level in the next economic system, but it's not an either/or. There are many, many problems with capitalism that would probably still exhibit if nepotism somehow immediately ceased.