which religion said this?
What? Is this a serious question? What do you think the purpose of religion is? It has always attempted to provide answers to life's most important questions - why are we here? - how should we live? - what happens after death, if anything? - and it has always attempted to explain more mundane phenomena as well, ascribing things like the creation of the earth and it's lifeforms to god, as well as asserting that things like extreme weather and astronomical events were god's will; it has also sought to dictate man's relationship to existence.
As science has done a much better job of explaining these things, albeit only the how, never the why, it has steadily eroded religious explanations and rendered them increasingly absurd. Now hardcore apologists find themselves forced into smaller and smaller corners- squeezing god into the small gaps in our knowledge. Generations ago, god was responsible for all - the rain, the sun, the stars in the sky - but now he is only invoked to explain the most esoteric, confounding aspects of existence: why does the universe seem fine tuned for life as we know it (god); why is there anything at all rather than nothing? (god) - and so on and so forth.
I hope you see my point, but based on your previous query, I'm not so sure whether you're not being intentionally obtuse.