The wall was built to keep the country's people in. But the Soviets and East German government said it was to keep capitalism out. They said that West Germany refused to recognize East Germany as an independent country because they wanted to take over North-East Germany just like Hitler took over Poland.