
"Build 3 to 6 months of expenses first" and "start investing now, time in the market matters" are both true. That's why so many people get stuck comparing them, and end up doing neither.
This isn't an either/or question. It's an order question. Deciding the order in advance, while you're calm, means you don't have to figure it out later while you're stressed.