Dickens crafts the ghosts as vehicles for conveying his condemnation of the ignorance and callousness prevalent among the materialistic upper classes. Thus, the ghosts serve as Dickens' mouthpiece, delivering a powerful message advocating for compassion and societal reform.