You would take an oath because you want dedicate your allegiance