Make $300K a year for 10 years while keeping expenses low and investing most of that in a bull market makes it pretty easy to do.
You make it sound easy! How do I do that outside of not just SF, but the US?
Work for one of the big tech cos outside of US is probably your best bet.
Bag-holding 101, folks.