Yes, Google pays hefty royalties to Mozilla/Firefox for making them the default search engine in Firefox. That deal is worth around $400 million per year (as of 2021-2022) and makes up the vast majority of Mozilla's total revenue.