We don't need to guess what Jesus was after : Jesus says taking vows is the sin of pride, thus "of the evil one", thus He bans them.Matthew 5:33-37 is about being truthful and not having to swear in other in order to be believed. It’s NOT about making a sacred oath before God.
Rather, you should learn not to add to Scripture, violating God's Word, so as to uphold your vain tradition. You had better not lie against God's Word, because you will give an answer for it.LEARN how to read the Scriptures on their proper CONTEXT . . .