I probably should say that I'm pro-science. I was actually a biology undergraduate, back in the day.
And yet it is not uncommon for scientists and those who are pro-science to demand from the general population to believe that science does indeed "provide people a purposeful framework for the events of their lives and for their inevitable suffering."
In my experience, I haven't seen real scientists doing that very often. They aren't typically evangelicals and aren't interested in converting the general population to a new faith. If scientists have a fault, it's that many of them aren't very good at communicating about science with non-scientists. Many of them don't even care to try, except perhaps at funding time. They teach science in universities, sure, but they don't really know how to get the flavor of their work across to people who haven't already had the introductory sequences of physics, calculus, chemistry and biology.
But deep down in their own lives, yeah, there oftentimes does seem to be sort of a 'spiritual' dimension to what they do. They'll comment on it after they've had a few drinks. Many scientists seem to me to be seekers, people on a lifelong quest, whose goal is some kind of deeper fundamental gnosis. That's why I compared them with medieval monks. It's a calling.
And there's what I'm calling 'scientism', which overlaps with what I've just described but isn't identical with it. Scientism seems to me to be more prevalent in the general public than among working scientists themselves. It's an evangelical religious-style approach to science, a faith-based trust and belief that science is indeed the light, the truth and the way, and a conviction that anything unscientific is stupid, inferior and very likely evil.
And there's something else too that's separate and apart from whatever it is that motivates individual scientists and from whether or not members of the broader public have faith in science. There's the matter of the broad cultural changes that science has caused and continues to cause in how people conceive of the universe and their own lives. I've argued that science has been very corrosive of the old medieval certainties. And while I see that generally as a good and progressive thing, I'm also aware that science hasn't been able to fill all the aspects of people's lives that supernatural faith once addressed. So many people feel cast adrift in the world and fear that their lives lack any larger meaning. That's been a major theme in the nineteenth and twentieth century humanities.
I don't think that most scientists intended any nihilistic effects. The scientists don't typically feel any personal sense of loss, since they are so completely consumed by the pursuit of their own gnostic quests. The popular adherents of scientism do feel it though, and respond to it by denouncing what was lost and by insisting that anything unscientific is just stupidity and obscurantism that's best forgotton.
We see some of that expressed here on Sciforums, which isn't really a board for professional scientists after all, but rather a place for laypeople interested in science. So coming to terms with the worldview of science culturally and psychologically is a huge part of what Sciforums is about.