The heroine is transformed into a demon witch who is destined to be killed by an upright sect. She is bound to the "Good People and Good Deeds System", which requires her to do good deeds that meet the "secular definition" (helping an old lady cross the Naihe Bridge? Healing an injured upright disciple?) In order to stay alive and become stronger. The harder/riskier the mission, the greater the reward.
The heroine is struggling to survive in the Demon Sect. On the surface, she is a strange virgin who "comes out of the mire and remains unsullied". In fact, she uses the system rules and the Demon Sect's resources to play "good deeds" to great effect: rescuing decent disciples is to collect information/bury nails; helping fellow disciples is to win people's hearts/find scapegoats; and even "conquering" demons is to let them harm the decent enemies. Jumping repeatedly on the edge of good and evil.