I definitely agree that it was a bit of a shit show in that generation of marriages, Charles, Ann and the Queens sister Margaret.
Andrew is the weirdest one ever. At one point I thought they'd get remarried.
Lesson's were definitely learned allowing Edward and William time to get to know their partners and for them to be sure of Royal life before getting married.
Harry had time with his previous partners but time was marching on body clock ticking and I think he jumped in with Meghan before she knew what she was getting into (or they were planning the exit plan.from the beginning)
I also think Williams stability is a mix of councilling, his Grandparents, accepting Camilla the stability of that marriage and the good fortune of having Kate and her family.