It is philosophy that gave birth to science is it is today. In fact, "science" was once known as "natural philosophy".
Science is a practical philosophy based on experimentation via the scientific method. It is a philosophy, that is, a way of looking at the world.
> Philosophy these days seems more about finding clever places to hide religious beliefs than it is about explaining the world as it is and answering questions in useful and productive ways.
What about Scientism, the religion that considers science to be the "One, True Way"? It usually incorporates the reductive materialist belief system quite heavily.
And it is Scientism that arrogantly dismisses philosophy as some outmoded system, when in fact, Scientism is ironically a philosophical position itself, a religious one at that.
Meanwhile, philosophy as a whole continues to explore different ways of looking at the world unabated, because it doesn't get side-tracked by ridiculous religious dogma.
Meanwhile, science and the scientific method, those practical philosophical tools that have been very useful in the hands of those who care about positive and beneficial progress for all of mankind, continue marching on proudly, unconcerned by ridiculous religious dogma.