If Google stopped supporting Firefox today, Bing would still pay to be the default engine. If bing does not pay, Yandex would do.
My point here is Firefox still has 2.71% market share, a lot of search engines operators would pay Firefox good money to be their default engine.
The default search revenue stream is guaranteed as long as they have good amount of users.
But they actively choose to ruin it.
This article is very revealing: Firefox: Illusion of choice
The only good thing that comes out of Firefox are forks like LibreWolf and Mull.