Am I wrong for telling my friend off for being depressed?

I have a friend that’s mother had passed away earlier this year in March. I’ve given her space to grieve, but she’s been looking depressed since March and quite frankly, it’s getting tiring. A month after her mother passed away, we asked if she wanted to join us for a movie night to get her mind of of it and she refused. The past couple months we’ve invited her to go clubbing with us, shopping and whatever she declines. We just hung out without her. Her dad a few months back got on her for her depression saying that she needs to get help, make the call, or he’s doing it so she ended up getting help. She was laying around sulking, curled up in her bed, hiding from everyone.
I understand she’s heartbroken about her mother, but she needs to move forward, enjoy life and start laughing again because her depression is effecting all of us and she got fired from her job because she missed too much work.
She complained that everyone still teased and pokes fun at her, but I told her that she can’t go around looking sad all the time and she needs to live life because people will still kid with her. We’re just trying to make her laugh. She yelled and insulted that everyone kept laughing having a good time while she is still grieving over her mother. That’s when I lost my cool and said bluntly, “You know what, we are getting sick and tired of hearing about your moms death! Look I’m sorry that’s happened and I will always be there for you but being a bitch and yelling at people is no excuse! We’re trying to help you but you aren’t even making an effort to get help. You keep up that moody, hostile attitude and depression, people aren’t going to wanna be around you anymore and that’s what’s happened! You’re not being fair to us, especially your mother. Either you continue to get help because I am DONE with your ugly behavior!! I think if you’re gonna keep talking about your mom’s death I think you should just leave.”

Am I wrong for telling my friend off for being depressed?
Post Opinion