It is clear that you've never been through an entire market cycle.
The dot com bubble primarily wiped out companies with vacuous valuations.
Companies that generate useful value will continue to do live.
The best developers keep their jobs through the market cycles.