It also took me a while to realize that things don't run on a merit system.
My theory is this: If you're smart enough to think that merit should matter, it's easy to fall into the trap of meritocracy. If you look around and realize, obviously, that this is not a meritocracy, then value must be derived from something that isn't merit.
Spoiler: It's relationships that matter, not merit.