In some respect, nepotism is probably worse than corruption because it tends to combine misallocation of resources with discrimination against capable individuals, in favour of less compent family or tribal relations.
Its 'quiet' nature also makes it much more challenging to tackle.