Scripture

Ezekiel 17:16

Cited in the Confessions
Westminster Confession of Faith
Chapter 22 · Article 4 — nor is it to be violated, although made to heretics or infidels.
Westminster Larger Catechism
Q. 113 — violating of our oaths and vows, if lawful;