bark up the wrong tree
definition
to be wrong about the reasons for something; waste your time and energy in the wrong way
example
If you are trying to say that I was the one who told the police, then you are barking up the wrong tree.
word origin — From American hunting in the 1800s — dogs would bark at the wrong tree, having lost the trail of their prey.