What is the meaning of [the highest branch is not the safest roost]

Those in the highest positions of power or authority are, in some respects, the most vulnerable, because there will always be plenty of others eager to take their place or cause their downfall.