From a personal experience, it is important. When you tell the language of your website, search engines will find easily how to understand your content even if you use some foreign language as example inside main site language. If every WordPress site come with it, it shows how important it is.