How electron spin makes matter possible