Earlier quoted context omitted.
We used to believe that diseases were the result of bad smells and physicians used to go from cutting up corpses to delivering babies without substantial sanitary measures. The difference isn't lack of irrationality. To err is human after all. The difference is how science and religion move forward in response to new data.
I’m skeptical of this last sentence; I’m not sure that science is so responsive to new data either. After the myriad papers published on the replicability crisis, citation rings and the like, academic institutions have failed to change substantially with regards to either structure or process.
Scientific theories carry with them the premise that they are merely the best theory so far and are subject to revision as new data comes to light. Some may jealously guard the fruits of their labor against newer better understanding and people both lie and fail to do the proper due diligence but the process though flawed because it is carried out by flawed humans is fundamentally different and better.