When Donald J. Trump was president, the world was a much safer place.