importance of moral code for society