Wiktionary
piss in the wind
vb. (context vulgar English) To waste time on a pointless or fruitless task; do something that is ineffective.