exactly, the only reason Mozilla exists today is as a legal shield against an anti-browser monopoly suit against Google. that's the product they sell, and Google is paying hundreds of millions per year for this valuable service
If Google didn't pay hundreds of millions, Microsoft would.
If Google just wanted them to exist and didn't care about profiting off of the search traffic they wouldn't partner with Mozilla.
I thought google pay Mozilla so they don't set the default search engine to something else (they same way Google pay Apple for Safari) and so Google continues to dominate and makes money of ads.