If you learn more about history, note how much suffering was caused by famine, disease, and the ensuing warfare, too. One of the hallmarks of modern civilization is that we were less callous about shrugging off deaths & lowered quality of life. Thanks to those advances we have a much larger population than in the past which means each failure will impact numbers of people which would have been hard to reach in most of human history.
Back then we could not prevent or ameliorate such disasters. This is equivalent to arguing we should not invest in sanitation because humans have been dying of cholera since ever.
This is the equivalent of arguing that we instead invented sanitation to adapt to reality instead of sitting in our own shit and dying of cholera and opining about sanitation refugees.
It would have been nice to think that we could have improved since the dawn of history. Or at least not actively do it to ourselves.