barking up the wrong tree - definition and synonyms

phrase informal
  1. doing something that will not get the result you want

    If you think she’s going to help you, you’re barking up the wrong tree.

See also main entry: bark