What? No they don’t. I wish. Where did you get that idea? Apple loves ads. They do a ton of them and sell them to you. You can’t do an App Store search without seeing an ad right at the top, and the bottom, and the sides, and under your pillow. It’s absolutely littered with them.
What Apple rails against is the tracking and invasion of privacy. Which incidentally ads do a lot of. Even Safari content blockers are ingrained in that philosophy: it’s not about blocking ads, it’s about blocking things that invade your privacy.