The gap between moral theory and practice is central to the book, and is exemplified by Rupert's inability to withstand temptation, despite having written a book about morality.
The underlying idea, which Murdoch adopted from Simone Weil, is that evil is propagated in the world by the transmission of suffering from one person to another, and that it can only be stopped by someone's being willing to accept the suffering without passing it on.