Hello and welcome to the forum. No need to worry about saying the right thing, we have all been there in some form or other. My problem was depression and it can be truly awful.
As you were attacked at work, and I want to say how sorry I am for that experience, did you have help from WorkCover, or whatever it's name in your state? I would have though they would provide all the physical help and mental and emotional support you need. I do hope this is the case.
The loss of your job must have been very hard.It plays a huge part in our lives. You have probably heard the saying, "Do the job you love and never work again". I know I thoroughly enjoyed my job and did miss it a little when I retired.
Do you have a family? Please only tell us what you feel comfortable with. We are not being nosey, simply want to 'see' you in your home.
I think many find it hard to start their own post but so rewarding when you can do it. I expect there will be more people joining your conversation. You will make online friends here I'm sure.
Losing old friendships is not something we enjoy. Do you think you have changed or the friends? I presume your mental health does not encourage you to make new friends. Have you considered ways to belong to a community again? It depends on your particular circumstances I expect but maybe looking outside of your home may be helpful. I hope you are receiving therapy to help you manage this new life.
Most places have activities available. I have often suggested a visit to your local library which can show you what is available in your area. Of course this depends on your abilities but activities such as volunteering for an organisation can help you self-esteem. What about coaching school teams, becoming part of the Scouting movement, helping at the local animal refuge?
Love to hear from you again.