Through all of this I am surprised no one has asked if you have actually sat your "mate" down and let him know the extent of the issue from your own point of view.
You need to have a frank and honest conversation with him, explain to him why you will let him off the money.
You need to point out to him that while he has owned you money he has been going out drinking with mates, spending money on dates, and buying takeaways regularly and that his behaviour and sheer lack or responsibility with money no matter the circumstances needs to change, for his sake as well as for others he is taking advantage of.
It needs to be made clear to him that he was a complete tool for quitting a permanent job without having something else permanent and above board in place, and that he needs to get off his high horse he seems to be on over doing certain types of work. He doesn't seem to be in any position to pick and choose what he does for a living and needs to realise this.
While it is all well and good moaning about all these points it on here, it will do nothing for your friend if he is honestly oblivious to the damage he does to himself and his reputation.
This isn't about people here guilt tripping you either. Let him off the money for now, but make it expressly clear to him that you are not writing off this debt, that he needs to sort himself out and make all efforts he can to repay you when he can. If you do not make him accountable for his actions, and don't point out his failings he will never be in a position where he needs to change.