The thing about CS, and ENG in general, is that it's less about who you know and more about what you know, which is a real leveller.
Right now, though, there's a pull back from the FAANGs and other big tech, which IMO is a measure of the cost of/appetite for risk at the moment (read: interest rates) as well as a well publicised miss or two (Twitter, Facebook's Metaverse).
Is it all over for Big Tech? Really hard to say, dot com bubble didn't end it. Outsourcing never eventuated (despite what recruiters are saying about remote workers having to reduce their salary expectations, because of the competition from overseas, the truth is that companies that take their ENG over seas end up paying twice as much to clean it back up when they eventually have to bring it back in house)
You can do CS and then do law school, what you can’t undo is the time you invested into building a legal career rather than a software development career after school, or vice versa. (OTOH, there’s also ways you could leverage either start into an advantage in the other career, because both are fields that reward knowledge of the application domain as well as the career field, and both are fields where the other is a legitimate application domain, so its not a total loss.)