Apple offers personalized ads, but as you can see from all their quarterly results, that is not their business but rather a tiny portion compared to companies such as Meta and Google that advertising is their business.
Apple shows what they do with your data even at a per app level:
https://www.apple.com/privacy/labels/ as well as reviewing Apple's Privacy Policy vs Meta/Google and see they are night and day from those companies. Again this doesn't make Apple better/good, and others worse/bad, as that depends on who one is and what they value. For instance Google offers far superior services in many aspects than Apple because they take advantage of all that customer data in ways Apple chooses not to.
> Maybe back in the day
Assuming you may not be an Apple customer or familiar with all the constant flow of new features in the current day Apple has been releasing focusing on Privacy. https://www.apple.com/privacy/