How Jupiter saves Earth from destruction