You are probably thinking of a global surplus in a sense “when renewable energy worldwide exceeds our energy needs”. But right now we have a local time based surplus (i.e. solar works during the bright days, wind farms work when wind blows etc) that does not make sense to export too far, where there is a need. Hence storing some share of this energy is important.