This is not correct. Here's Pfizer's 2025 annual report [1]. Total expenses for the year were $55.1 billion. Advertising expenses were $2.7 billion of that, or just under 5%. R&D expenses were $12.1 billion, or just under 22%. They do have a lot of SG&A, but the large majority of that is not going to marketing.
[1] https://d18rn0p25nwr6d.cloudfront.net/CIK-0000078003/908eb6a...