Divorce is hard, but it is better for kids to be in a happy single parent household than it is for them to be in an unhappy two parent household. Also, it is probably better for you to be free from a situation that you isn't benefitting you. This is probably better for the kid not worse.
Although, I'd suggest taking him to a therapist just to check up on him. I don't know what they do for 10 year olds, but kids a bit younger the kids draws some pictures and plays with blocks while the therapist asks them questions.
And, for the divorce itself, fuck, that is never fun. Marriage is just a legal convention. As much as we want to paint it being about love and all that shit, it is a legal partnership and dissolving it is a hassle.