Feeling discouraged

I lost my job due to family issues and now I'm finally getting back up on my feet. I have done a phone interview and a in person interview and have not been denied. I am fully qualified for these jobs and I'm just wondering what I have done wrong because I thought the interviews have gone well. Even the interviewers said they really liked me. So at the moment I just feel so discouraged and my depression is coming back.