Aristotle, Pythagoras, Heraclitus, and other Greek philosophers were also scientists. They saw no or little difference between
.Religion was often been a stand in as a way to find meaning in life, without philosophy, even religious philosophy, where does one look for a meaning to life.
Is life supposed to be an endless drudge, one paycheck after another, maybe a discovery here or there, but for what? Without meaning what is the use?
Philosophy supplies that, yes, it can be misapplied, as in a Stalinist or Pol Potist manner, in which the ideal supersedes the individual, but then if the cause is good enough, say for science, then the science produced by Dr. Mengele in the death camps of the Third Reich were justified.
Philosophy, at its best, avoid those pitfalls of overweening pride, even for the good of mankind.