Answer: To keep the invaders out
Step-by-step explanation:
The primary purpose of building the Great Wall of China was to keep invaders out of China. The wall was constructed over a period of centuries, with the first sections built in the 7th century BCE and later extended and rebuilt during the Ming Dynasty (1368-1644 CE). The wall was designed to protect China's northern borders from invasions by various nomadic groups such as the Mongols, Turks, and Manchus.
While the wall was effective in some instances, it was not impenetrable and invaders did breach it at times. The Great Wall of China also served as a symbol of Chinese strength and unity, and its construction was seen as a way for emperors to demonstrate their power and control.