Valve's cash cow is Steam.

All of their games (Dota 2, CS, and the other ones they hardly maintain anymore) are basically just passion projects at this point, lingering on from a bygone age when they were a game development company.

Their most recent title, Half-Life: Alyx, probably only got greenlit because someone internally was able to convince leadership that it would help sell VR headsets.

CS2 makes an enormous and non-negligible amount of money.

Dota2 as well. Like I'm sure CS2/Dota2 are small compared to Steam, but the revenue from these games alone dwarfs what most other companies are making.

Valve's financials are nonpublic, and any numbers you find are rough, indirect estimates.

In any case, my point was not that these games make no money, but simply that Valve doesn't need them. The total number of people buying games on Steam vastly dwarfs the number of people who play Dota 2 and CS2 (even just counting total players - how much more when you narrow down to players who spend money).

They’re (genuinely) gearing up to release Half-Life 3 at the moment, and not as a VR exclusive