It's a good way to only get the rich to become federal politicians.
Congress gets paid like 174k a year. Sure, it's a lot of money compared to the US median, but anyone who can get elected to Congress can earn that elsewhere.
For tech, 174k isn't even a big salary; we're talking an industry where a starting SE salary at a FAANG is around there. That's not a huge paycheck for a 24/7 job like federal politics.