Do you think a 12 year old can really see that a divorce would be the best thing? My daughter said out of the clear blue sky "Mom are you and dad getting a divorce? I would not be to hurt because I think you both would be much happier".
Our marriage has been over for a long while...we were only here for her..
Kids observe much more than we give them credit for, even when we think we're keeping a lid on our marital problems. A 12 year old can certainly come to the very well thought out conclusion that you, your husband and she would be better off if you got divorced. Her suggesting that you and her dad would be "much happier" if you divorced is her attempt to tell you that she'll be OK if you do divorce and that she doesn't want you to stay together because of her. My guess is that she doesn't want to continue to live with parents who are hopelessly locked in a loveless, damaging marriage.
Please use her comments as an opening to talk to her about her thoughts and feelings regarding her family life. Ask her open-ended questions ("What are you worried about the most when it comes to our family?) and do a lot more listening than talking. She deserves the best chance at a happier home life and so do the both of you. Isn't it time you sought professional therapy to address what's best for all of you? Maybe you needed these brave, thoughtful words of your daughter to do what's been needed for some time.