Warfare spurred on the welfare state in the 20th century