I seem to remember, in the conquest of Baghdad, that the ruler had shot his mouth off about how he was going to beat the Mongols, until they arrived - then he begged for peace.
So the Mongols said “okay, but to show you really mean it send all your soldiers outside the city walls without their weapons”
Showing good faith, the Baghdad ruler did that.
And then, the Mongols killed everybody.