One's moral is essentially their opinion on something that they relate to their sense of right and wrong. If an opinion can be stupid, so can one's sense of morale. Whether this moral opinion was taught to them by a preacher or experience, it has the ability to be perceived as stupid. Or, perhaps the more appropriate term here would be "dumb".