Mostly true. What matters is securing the long-term future of consciousness, both on Earth and other heavenly bodies.
We cannot just focus on Earth, because there are irreducible external (eg massive meteor) and internal (eg global nuclear war) cataclysmic risks.
The Moon is faster to make self-growing, but is more susceptible to problems on Earth. Mars will take longer to make self-growing, because it is so hard to reach, but is more secure from Earth disasters for that same reason.
Both the Moon and Mars should have self-growing civilizations. Making this happen is the prime directive of SpaceX.
作家ル・グウィンのスピーチ「厳しい時代がきます。恐怖の多い社会、使うことを迫ってくる技術の中で、別の生き方、新たな希望を描く作家の声が必要になります。自由がどんなものだったか記憶しておける作家が必要になります」We will need writers who can remember freedom.