Personally, I think the capabilities of an evolved human mind which enabled us to understand the Universe in a way no other creature can has led to the curiosities over life’s meaning, and moral systems have developed as a response to how to behave in a way befitting for society with empathy being a thing. I don’t think we need God to explain it, but I realise this is a short response to a complex topic.