A High Street bank will close at the beginning of next year after its footfall more than halved in five years.