Dude, we (me and other commenter) are already in agreement. Other commenter summed it up pretty succinctly. So I just didn't want to start a flamewar on semantics, except for pointing out that I can't come up with a solution in a short form here.
I have a medium article in draft over 3 months on this exact topic. That's why my wording of the issue came out sounding more complicated. But other commenter saying "science alone" and me saying "using science solely" are basically pointing to same understanding.
There are many examples in history for the said situation leading to social catastrophes; see Malthus (or Thanos' ideology if you like pop-cult), or Darwinian take on managing societies. Some lead to racism, some eugenics etc etc.
Like the original commenter said; science is myopic and highly focused on the present body of knowledge available. But once we applied those results onto people and cause suffering, and 10 years later find some of those were wrong, we can not undo the human suffering.
There needs to be a balance; when science is treading closely to the human dignity, well-being, life in general.