Why did great Britain go to war against Germany?

so that Germany wouldn't take over the entire continent.