There is no reason to suppose that the world had a beginning at all. The idea that things must have a beginning is really due to the poverty of our thoughts.
The conception of the necessary unit of all that is resolves itself into the poverty of the imagination, and a freer logic emancipates us from the straitwaistcoated benevolent institution, which idealism palms off as the totality of being.