Is consistency a hobgoblin of moral reasoning?

Do our moral beliefs need to be consistent? Why should we care about logical consistency in our moral beliefs? Maybe it’s a bit obsessive to focus on asking whether your moral beliefs could be universal law.