Work hard to get a new job, even if it's a crappy one. This will be the key to help you turn your life around. I know it did for me. I struggled during my early late 20s too, and when I turned 30 it felt overwhelming... like what have I been doing with my life? But when I put my head down and started to work hard.
Career became my main focus in my 30s and while I am much older now, I can say without doubt, everything got better. I was able to not worry about money, date more, make more friends, indulge in personal interests, etc.
Use this time living at home to save, take any job related to your interest. Keep looking for better opportunities. Save more money. Get that job. Get that girl. Get your life turned around mentally and emotionally. Don't dwell on the past. Good luck!