Fetching details from the dictionary...
to profit at someone else's expense; to rob Peter to pay Paul; to take risks with other people's money