It could mean that. However, the usual situation is that one person does a favor for another and it backfires on them (they are harmed). Usually this is because the person who receives the favor is an unpleasant or otherwise bad person. So they can only repay evil for good. For example: Jane lent Susan her car, even though Susan has a bad driving record. That night Susan crashed Jane's