When to focus on freelancing vs. passive income

I’ve been juggling freelance projects for a while now, and while the immediate income is great, I can’t help but wonder about the long-term potential of passive income streams like digital products. For those of you who’ve explored both, how do you decide when to trade your time for direct pay versus investing effort into something that pays off later? I’m especially curious about balancing the two when you need consistent cash flow but also want to build something scalable. What’s been your experience?