Yep, the whole industry is not in good place right now but tech is still a sure-fire way of netting $1Mil+ after a 5-10 year career, with the most freedom and in the most flexible way.
Several people I know who went to a good university and landed big tech/quant jobs early became millionaires (liquid 1,000,000) after 5 to 7 years. Some got lucky and reached this milestone way earlier.
Medicine takes 12+ years of education before bearing any fruit and finance has very little freedom.