Its talked about as "selling data", but its important to understand how that works, because its inherent to the value proposition of digital advertising. Its not "we have X data, do you want to buy it for $Y?". Its not about exporting CSVs or connecting data warehouses. Its "We have X data, do you want to buy inventory for that audience?". So the only way that a publisher can really sell ads without "selling data" is to do it on a non-targeted basis, so either through programmatic, non-direct, or through non-targeted direct campaigns. In isolation, a publisher who is selling non-targeted direct campaigns is not going to do well. Its just not a competitive offering to advertisers, unless the site's entire audience falls in a certain demographic--in which case, advertisers will just mark those users as having that characteristic, so in the end its still "selling data".
One way to look at the value of selling first party data is to look at the gap between programmatic and direct sold inventory. Direct campaigns in the US typically go for $10-50 CPMs (highly dependent on the audience, context, and units). Programmatic averages closer to $1-2. So having first party data _and scale_ can get you a 10-20X over not having data (and scale).