That's how life works, yes. In what scenario are you not responsible at all for understanding the legal situation you put yourself in?
There are also thousands of people every year who do gig jobs and then get significantly hurt financially when they fall through a job benefit crack (health insurance etc) when they lose a job.