It was built at a high point in the Ming Dynasty, but I think over time it certainly contributed to a harmful attitude against people outside the walls. Like in France the unrest of the general public destabilized the government.