Ah shit, didn't you hear the news? About 65-66 million years ago, a large asteroid impacted the earth and rained molten glass on the whole planet, instantly disrupting ecosystems and making survival much harder. A lot of dinosaurs didn't make it, many species and entire branches going extinct within a geologically insignificant amount of time after the impact.
And then, to add insult to injury, mammals later became the more dominant species in most places in the world (other than Australia). Some of them even keep modern dinosaurs as pets or livestock.