* Moral means relating to principles of right and wrong.
* Demoralize means to lower the spirits or courage of; to make disheartened.
The prefix "de-" means "remove" or "opposite of." So, "demoralize" essentially means to "remove the moral" or "make the opposite of moral".