Another way to say "taking an oath is for honesty" is "honesty is assured by taking an oath"