Disclaimer: we still have pragmatic reason to follow the evidence suggested by our best scientific theories. I’m just poking fun at scientists in the spirit of Hume. There’s no guarantee that the future will resemble the past, and even our best scientific theories are amenable to future evidence.
I think about this a lot. There are places you see this logical flaw that are actually more concrete. A good example is retirement accounts. There is an implicit assumption that even safe investments will go up in the long term.