barking up the wrong tree
(doing something in a way that will not get the result you want)
- If you think I have money to lend you, you’re barking up the wrong tree.
- I’m starting to feel like we are barking up the wrong tree by investing in such a project.