Joint wars are brilliant unless you just want to steamroller every civ in the same old way, even then joint wars have saved my bacon on deity.
So I have cleo and Cyrus next to me, not a promising start but if I see one forward settle the other, suggesting a joint war in revenge is great. They both have stronger armies than I do, lock horns, smash each other while I just pillage a bit and grow my strength to take them both out.
Then there is when you do not want to be a totally hated person and form some bonds and alliances not just with the partner in crime but in their friends and allies.
Joint wars often also cause loyalty flips to free which are also enjoyable gifts.
I am trying to work out why the hell you would not be part of a surprise war without the additional penalties where your opponents are useless at war.
This thread would have me lost apart from I have seen it every now and then from total warmongers who just cannot be bothered with anything but a blindfold and a direction to move which seems to be the only argument that is means nothing because “everyone already hates me”. But this one sounds a tad more innocent than most.
Of course when the AI offers it, it is often a poisoned chalice but normally you can smell the almonds. Suggesting it yourself is even worth a few gold more often than not.