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.