with might and main
with might and main {adv. phr.}
With full strength or complete effort.
The sailors pulled the rope with might and main.
John tried with all his might and main to solve the problem.
Categories:
Source: A Dictionary of American Idioms