This comes up often, and it's a complete mischaracterication of Pasteur's work. I think that someone (or some website) is feeding you some really terrible information. Pasteur showed that bacteria are responsible for the life that was observed to spring from decayed matter. This is utterly unrelated to the "ultimate origin of life" issue. Some background material is HERE.
BTW, DO you know what Jesus said about the "origin of life?"
There are, of course, absolutely zero demonstrable laboratory examples of Life spontaneously erupting from Non-Life anywhere in the history of science. Thus, much like the Law of Gravity, the Law of Biogenesis continues to enjoy absolute logical presumption over imaginative hypotheses about life spontaneously erupting from non-life.
Exceptionally Silly persons will continue to place a blind and uncritical Faith in various magical fantasies which suppose that life can mechanistically and spontaneously erupt from non-life; but of course, their unscientific fantasies are little better than a daydream -- certainly not to be confused with any kind of rational Thought.