To waste one’s time on a futile endeavour.

A man with his back turned, urinating at the moon. He could do this all night. The moon doesn’t notice — that’s the proverb.