I somehow doubt that all of Google’s internal decisions are as simple as “well we’re an ads company, let’s just not worry about search quality.”
There were search engines around but when Google came out with superior search results everyone switched and those search engines quickly vanished. There are search engines in direct competition with Google today. If Google does not provide the best service there's an extremely low switching cost. Bing, Baidu, DuckDuckGo et al would be happy to take your traffic.