Contradiction with Matthew 5:34-37
This passage speaks about not swearing at all and letting your 'Yes' be 'Yes,' and your 'No,' 'No,' which contrasts with making oaths or vows.
Matthew 5:34-37: But I say unto you, Swear not at all; neither by heaven; for it is God's throne:
Contradiction with Ecclesiastes 5:4-5
Advises not to delay in fulfilling a vow, emphasizing the seriousness and consequences, which contrasts with the celebratory nature of David's vow in Psalms.
Ecclesiastes 5:4-5: When thou vowest a vow unto God, defer not to pay it; for [he hath] no pleasure in fools: pay that which thou hast vowed.
Contradiction with James 5:12
Advises believers not to swear oaths, similar to Matthew 5, which differs from the tradition of making vows as seen in Psalms.
James 5:12: But above all things, my brethren, swear not, neither by heaven, neither by the earth, neither by any other oath: but let your yea be yea; and [your] nay, nay; lest ye fall into condemnation.
Contradiction with Numbers 30:2
Emphasizes fulfilling vows made to the Lord, yet shows the rigidity and seriousness of vows, differing from the context in which the oath is celebrated in Psalms.
Numbers 30:2: If a man vow a vow unto the LORD, or swear an oath to bind his soul with a bond; he shall not break his word, he shall do according to all that proceedeth out of his mouth. [break: Heb. profane]