If you have a lucrative skill, then you can keep doing changing jobs until you have one you like. If you don't have a lucrative skill, your first priority should be getting one. These days you can swipe a credit card to go to code school. Or just save up. Code school grads still get snapped up as soon as they graduate.
Not everybody likes to code, but hey, it's better than not having a job.
If you have a lucrative skill you'd be an idiot to go work for someone else. You can have your own business and have clients coming to YOU, and get to keep all the profit, and grow the business too.
So, somehow your definition of lucrative skill is "lucrative, but only if you're a salaried employee".
The business side is only a hassle at scale, at which case, you can afford to hire some assistants.
How? Not a rhetorical question; most people, even with a lucrative skill and the basics of negotiation, don't manage that. How did your friend pull it off?