thinking bout your post ...
I don't think it was the RIDE that was the problem ... sounds as if you rode REALLY REALLY well ... but the DH ATTITUDE was the problem -- snide comments do no one any good! Of course you know him better than anybody, so if there is some way to get him to understand that his fitness level is different than your fitness level, or maybe fitness is equal but his body type gives him advantages (men are built differently :D), and that you would appreciate less sarcasism and more positive reinforcement, than it may all work out and you guys can ride together.
I ride with my DH, who is slower than me, and it gets on his nerves. He is ALWAYS making comments about how "I must feel" riding with him, when in fact, it does not bother me (I look at his comments as a "backwards compliment"). I ride with many people, most are men and stronger and better than me, and they treat me with respect and so I try to do what/how they do to me to my DH. For my DH, it is more his problem than mine ... I will climb a hill and come back down or wait on top (depending on my fitness); I will spin on flats and sometimes stay back, letting him get ahead of me, and then chase him down (giving me a sprint workout); and on downhills he will ALWAYS out ride me because he is 100 pounds heavier and not as cautious as wimpy me. I tell him how good he is doing and he tells me how "unfit" he is ... I say nothing because it is true, but only he can change that. We then talk positive about ride and move on. All good, because we know what to expect and work to respect each other ... it is how others treat me on the bike and I like it, so I work hard to do the same with my DH.