In the past, on Earth, it has largely been to exploit foreign resources and to expand the domestic territory.
Years of science fiction have produced a mindset that it is human destiny to expand from Earth, to the Moon, to Mars, to the stars.