The death of galaxies and the growth of supermassive black holes: implications for galaxy evolution and tidal disruption events