UK Government and media propaganda during WW1 portrayed the German people as being evil, for example by fabricating untrue stories about how badly Germans treated civilians.
One propaganda poster claimed that German soldiers attackednuns. Another claimed that allied soldiers had been crucified by Germans.
Politicians and the media promoted war as a righteous fight against evil and many men were persuaded to join up by such propaganda.