By this logic, listings for physical products shouldn't show in search results either, because they're just ads for something you have to pay for.
You aren't entitled to others' work for free, and sometimes the most relevant result for your search is something paid.
This is a particularly tone-deaf line of reasoning on Hacker News, IMO, because the tech industry is (a) so, so much better paid than journalism, for work that is easier, and (b) largely responsible for the death of journalism as a sustainable business.
The problem with paywalled news articles is that the ranking is done on the full article content, yet I am not allowed to see it. This often outranks the results I am allowed to see. Product pages don't have this problem.
Physical products are different because potential buyers are afforded a bevy of free, easily accessible ways to evaluate the product prior to purchase.
I have no way to throughly evaluate the quality of a blog that cuts off everything but the first sixth of its posts or a news site that stonewalls me after viewing an article or two.
I subscribe to multiple news sites and programming blogs and none of them resort to such tactics.