swear upon

Upper Intermediate (B2) formal

To make a very serious promise using something important — like the Bible or your honour — to show you are telling the truth.

"She swore upon her honour that she would never reveal the secret."