Oath means: A solemn promise, vow, or a sworn declaration to something or someone.
The warriors swore an oath to protect their king.
I had to say an oath before joining the club.
In court, a witness has take an oath of telling the truth.
Her husband made an oath that he will come back for her after the war.