Demand generation creates demand, lead generation harvests it. They follow each other, they do not replace each other. 98% of your website visitors leave without converting, so most of the demand you create is never counted. Demand gen is cut first in a budget round, because its effect shows up far too late to defend.