Benefits can almost always be compensated for with more money. 401(k), heath, dental, paid time off -- all of these things are just another form of compensation. If you make enough money to make up for what you would otherwise lose, then these are no longer a reason to stay with a company.
Security, on the other hand, is a bit different, but in a way can still be compensated for with money. For example, think about how long it would take you to get a job after your own company goes under. 6 months? A year? If you're able to stash enough of a buffer to cover you during that period, then you have just established security.
Of course, I realize it's easier said than done to earn enough of an income on the side to make up for the monetary value of all of these benefits/security. But my point is, comparing benefits, security, and compensation as separate things overcomplicates weighing working for a company vs. working for yourself -- it all (for the most part) boils down to money.