This is the passage:
but this situation is a win-win game for the system cause if the prisoners can post a bail they had benefited the system with their money and if they can’t they again had benefited the system by populating the prisons.
I'm just looking for an idiom or phrase that matches the best here, I had search on the internet but the results weren't what be appropriate for this concept. Thanks.