Hierarchies are ingrained in our genetic code. Its how most organisations have evolved for hundreds of millions of years starting from crustasians like lobsters. You might not agree politically with Jordan Peterson, but his book 12 rules for Life, is an excellent book and the first chapter talks about how hierarchies are fundamental to any social structure across most organims. There can be some outliers, but if there is no hierarchy to start with, a new hierarchy will most certainly evolve over long periods of time.