Up a blind alley

To come to nothing. A road to nowhere

Examples

I’ve been trying to find an error in my code for several hours. But I’m up a blind alley.