A former chef who is homeless stole alcohol from a shop because he was “sad and depressed” about how his life has turned out.