to no avail
to no avail or of no avail (1) {adj. phr.}, {formal}
Having no effect; useless, unsuccessful.
Tom's practicing was of no avail. He was sick on the day of the game.
Mary's attempts to learn embroidering were to no avail.
Categories:
Source: A Dictionary of American Idioms