Find the word definition

Wiktionary
bark up the wrong tree

vb. (context idiomatic English) To do, believe, or pursue something wrong or inappropriate; to take the wrong approach; to follow a false lead; to blame or rebuke the wrong person.