blind alley
a method of thinking or acting which is not effective because it does not produce any results.
The latest evolutionary theory may turn out to be a blind alley.
Cambridge English Idioms Dictionary