to no avail
to no avail (2) {adv. phr.}, {formal}
Without result; unsuccessfully.
John tried to pull the heavy cart, but to no avail.
Mary studied hard for the test but to no avail.
Compare: IN VAIN.
Categories:
Source: A Dictionary of American Idioms