In my mind, this is fairer than the US system, but there is a good case to be made that keeping elements of a "contributory" system helps to maintain political support for the welfare state among people who are a bit more, um, selfish.
(An interesting piece I read a while ago that describes how the "contributory" nature of Australia's social security system in the 1940s was actually just a cover for a general tax increase: http://www.abc.net.au/news/2014-05-27/berg-chifleys-politica...)