I'm not religious or anything (atheist) but if you are intending to seek solace in your religion, I can offer you some perspective.
It's not just the Earth that is "just there," it's everything. The Universe, the cosmos, everything that exists (or doesn't exist yet but will spontaneously come into existence or has vanished from existence.) We all came from an infinitesimal singularity, at least that's the understanding.
Atheists (well, not all of them. You can find atheists that are flat earthers and fully believe we have always existed and totally throw out evolution/etc) generally deny the existence of some god having played a part in the processes of the Universe.
It's just probabilistic; many universes may exist parallel to our own, who knows what other theories are coasting around. In each one, you'd have to deal with the anthropic argument that for us to exist, to be typing on this very forum, every event must have proceeded appropriately, all the parameters that define that universe to have been properly set. Now that's very low in chance, but given an infinite number of universes, it's definitively going to occur in one of them. Anyway, that's just one of the example possibilities. We can only theorize, we can't cross over and study other universe's (if they exist.)
Unlike religion, science doesn't put an "absolute" label on it. Everything is tested, theorized, all that sort of thing, and we aren't definitely saying some god did it, we're just elucidating it and making use of the physical principles that exist to predict/ratify other stuff that happens.
However, you can't say why the Universe exists. Ultimately we all came from nothing, and the way we understand life is that everything that is must have some beginning. Many atheists (myself included) will believe that that nothing simply "is" and there is no deeper meaning to it and since we can't elucidate it, there's no point.
If you argue that some sort of deity started it all off, then you'd be back to the argument of ascribing some beginning to that deity too, and ultimately you're stuck with the same argument: that deity simply "is," just like the Universe simply "is" to any self-respecting atheist.
It's your choice as to whether you're happy with accepting that nothing is absolute and that you don't need to have an explanation for everything or why we exist, or whether you're going to seek definition and simply say that a deity is responsible for all of it. Atheists are happy to say "we can't explain it but we're happy leaving it that way because our logic permits it," theists aren't so happy and look for their deity as an answer. Imo it's perfectly sane and reasonable to just argue that some deity started it all off, and if that makes you happy, then you should do it.
Just my opinion. Although personally I can't stand the pushy religious type who always claims that "God" did it. Not to be unpopular but primarily a Sith deals in absolutes.