do something for all you are worth
for all (one) is worth
1. To the greatest degree or extent of one's ability; to the utmost; as vigorously or intensely as possible. When I saw the police approaching, I ran for all I was worth.
2. As much as one has available or to offer. If you can't get her to sign a prenup now, that guy is liable to take her for all she's worth if they get divorced.
Farlex Dictionary of Idioms. © 2022 Farlex, Inc, all rights reserved.
do something for ˌall you are ˈworthdo something with as much energy and effort as possible: I shouted for all I was worth but no one heard me.
Farlex Partner Idioms Dictionary © Farlex 2017