Cookies serve important purposes for doing things like keeping you signed in as you navigate through multiple pages on a site.
The issue is that most parts of the internet were developed by people more interested in all the cool stuff you could do with it, and not at all concerned about the potential misuse by large multi billion dollar corporations.