@mjd @samim okay, I decided to not be lazy and respond as if it was a serious thing.
There's plenty of stars. The life developed on a planet that
1. Has water
2. Orbits a sun that delivers it enough energy despite having all that water that would have blocked majority of that energy if it was not in the right window.
Planets that are able to support life are rare but they happen nevertheless, because there are billions upon billions of attempts. The universe is just so big, that the right conditions happen somewhere.
Although it is incredibly unlikely that you will ever win a lottery, someone somewhere does in fact win a lottery quite often.