In his memoir, Mein Kampf, Hitler expressed his view that history was an open-ended struggle to the death between races. His plan to conquer Lebensraum is closely connected with his racism and social Darwinism. Racism is not a necessary aspect of expansionist politics in general, nor was the original use of the term Lebensraum. However, under Hitler, the term came to signify a specific, racist kind of expansionism.
https://www.newworldencyclopedia.org/entry/lebensraum