The Spanish revancha (“revenge”) comes from the Latin vindicare, meaning — surprisingly — “to vindicate.”
Revenge, after all, is just one way to vindicate yourself!
If we remember the reinforcing re- prefix, we can see that the v‑n-ch of revancha maps to the v‑n-(d)-c of vindicate.