The reason humans still exist, but non-avian dinosaurs do not, is that non-avian dinosaurs were wiped out 65 million years ago, while humans showed up about 250,000 years ago. To be more precise, there are still some dinosaurs, avian dinosaurs we call birds.