Satisfying needs and wants, which marketing does very efficiently. You're just in the bubble of HN where no one clicks ads, everyone runs ad blockers, and people think ads are literally evil. The vast majority of people don't care and will even click on ads and buy products they want, otherwise ads would not work so well.