How does the sentence end?

Rewards could encourage the child to behave, while punishments made her worse, since the
rewards were so effective.