CS:GO is actually their biggest game now, but it does look like Dota 2 is dying. From a business perspective, they don't have any reason to try and save it though. They've lost ~40% of their players over the past 4 years, but are making more money than ever. The in-game tutorials have been unfinished for years, their Dota+ subscription service is all but abandoned (but still bringing in millions of dollars a year), and even cosmetics are mostly contained to a time-limited battlepass to take advantage of FOMO.
CS GO was abandoned by valve, community picked up the scene by creating their own leagues and tournaments. Only then valve gracefully came back to support CS :(
CS:GO is also going to trend downward soon with the release of Valorant, which is basically the same game with a few superpowers attached. All my friends who played GO switched over, they're attracting a pro scene, I think it's only a matter of time tbh.
I'll be a single counter-point. I straight up reinstalled Windows to play Valorant and all it's done is made me play a lot more CSGO. I'm legitimately having more fun with CSGO now than I have in a very long time! The game feels like it's in a super good place. It's got a ton of cool skins, the competitive scene feels really competitive at the moment, playing it competitively feels great. The DM mode scratches a very good itch, gun game is still a lot of fun, etc...