Out of all the alternatives given, select the word which closely fits the given idiom/phrase.
Barking up the wrong tree
1
To blame someone unfairly for a problem.
2
To be mistaken, to be looking for solutions in the wrong place.
3
To ignore someone.
4
Being treated the same unpleasant way you have treated others.