fruitlessly

adverb
  1. in a way that produces no useful result or success; without achieving the desired outcome

Examples