We are pretty sure that an impact liquified the entire surface of the Earth (creating the Moon by casting a big chunk of molten material into space). So clearly the “greatest imaginable” impact does not leave the Earth more habitable than the alternatives.