The Great Wall of China, which is a tourist attraction today, was originally built for the purpose of defence.