Why couldn’t mammals take a dominant position immediately after emergence?

Mammals could not compete with carnivorous dinosaurs and other reptiles during the Mesozoic and were actively exterminated by them. Only after the almost complete extinction of most reptiles were mammals able to spread widely across the Earth.

One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.