Sarah.
How sad for all concerned. It highlights how serious depression can be, hopefully it will help someone reading this thread.
It may seem selfish but I agree with your friend who said when you are that depressed you honestly think the world (and even your kids) will be better off without you. So it isn't really selfish it is a mental illness.