Both have its pros and cons. For entrepreneurship, it is the trend now, especially for millennials and gen z. You are freedom to decide, to work as the way you like but you have to worry about finance.
On the other hand, you have to follow the rules of company, the decisions of boss but you don't need to think much about finance or loss.