The worst thing you could do is to just give up and leave, but that's what you did anyways.
As you stay away from class more and more, your grades only serve to drop further and further.
Eventually, you end up dropping out of university altogether and your life is now in an uncertain path.
It's easy to believe that you should just give up, but you shouldn't. Even if things seem uncertain, you should never give up. As someone once said...