To waste time on a pointless or fruitless task; do something that is ineffective or counterproductive.