Another doomsday scenario. In 2018, an asteroid nearly hit Earth. Had it hit, it would have killed at least 3000+ people. And that one was only ~100 feet wide. Had it been 5, or even 1 KM, the death toll might have exceeded 1 million.
According to What If? HQ, had it been 10 – 50 KM, it might have wiped out the population, as it did with the dinosaurs. Not only would it destroy lots of infrastructures, it would also kill off crops and pollute the atmosphere with dust. This would block out the sun and make the Earth feel like an oven.