1. Hate permanent job.
2. Start consultancy.
3. Spend half the day finding work/collecting bills; other half programming.
4. Eventually find reliable client with long-term project always pays on time.
5. Cancels all other contracts to focus on reliable client.
6. Go to step 1.
The way to break free from this is to scale the consultancy by hiring developers and profiting on overhead. This was not mentioned in the post, but if you neglect the scale factor, it will be very difficult to break past a typical employee salary. There are only so many hours in the day. The alternative is to sell a product.
"The Imperial Trading Companies such as the various East India Companies should possibly be considered corporate states, being semi-sovereign with the power to wage war and establish colonies."
https://en.wikipedia.org/wiki/Corporate_republic