Seniority within an airline merely ensures that an individual will be considered for Command/promotion etc. It does not guarantee they will get it, only that they will at least be considered for the selection. They still have to get through the selection process and subsequent training, and then remain competent.
Seniority should stop mates of the chief pilot just walking in to a company and taking desirable posts that long term employees should be considered for.