Academia is now effectively just like anything else. In the US at least, it's mostly tied to grant money and how many students will get into seats (=tuition income, department income).
The idea that it's a meritocracy is pretty dangerous in 2026. More than ever, it's about who you know. Nepotism abounds.