Grad school is a money loser in CS for people from the US. There's no argument. But I did end up having my net worth increase over the course of it, and it was a fantastic experience. In Boston, even - a pretty HCOL area. And in the end, being "rich but less rich than my FAANG friends" isn't the worst outcome. :)