I definitely think there's a strain of dogmatism in science. We need to be careful. Science is not the Truth, it's a method for producing accurate predictions. We accumulate evidence until the predictions seem overwhelmingly likely, or not. At no point have we proven that things might not be completely different from what we imagine them to be, or that they won't change. Science isn't Truth, it's just a method of finding the best answer up to that point.
Science and religion are two entirely separate things. Treating religion like science is bad, but treating science like religion is worse.
You cannot "believe in" science; it is not intended to tell you how to live a moral life or provide meaning to your existence, etc. If you try and make it do that, you are not being scientific, you're being dogmatic.
These concepts aren't related to each other, and shouldn't be compared.
We shouldn't think of science as a better replacement for religion. It's a different thing entirely; if we start worshipping rationalism, we've just made ourselves the gods of a new religion.
I mean, religion by definition is basically just guessing what's true, or guessing that what somebody else told you is true is true. Not exactly a foolproof method.
A 4-panel Angry NPC Wojak meme.
The first panel shows grey NPC wojak saying "Religion and science are both ways of finding the truth"
In the second panel the white character replies "Can you name me one thing that was found by science and was later replaced by religion"
The third panel is grey NPC wojak with no text, and the final panel is the titular angry NPC wojak with his brows furrowed.
[I am a human, if I’ve made a mistake please let me know. Please consider providing alt-text for ease of use. Thank you. 💜]