In my personal opinion, the universe is an organism of transcendent love and power. I don't know how it came into being or even if it ever did.
But virtually every cosmological model has the universe as having always existed. There never was a "before". So there never was an "accident". The universe is what it is.