At least in germany, there are both traditional banks with offices and online-only banks and one of the reasons given for the fact that traditional banks have worse conditions (less interest, sometimes monthly charges for even having an account etc.) is that they hvae to pay the offices somehow.