In his the picture of dorian gray , a novel embodying his mask theory and one with a good function of moral education , wilde reveals the truth of inevitable punishment for any morally degenerated person and exposes satirically the evils of the characters with masks like dorian .