I absolutely agree with that. If you can't support the mission you can always show the courage of your convictions and resign.
I retired from the Army earlier than I had planned because I no longer could support the leadership at the top levels. I resigned from the Sheriff's department because I had strong disagreements with the direction the department was going.