A fool's errand

(a fruitless job) this pla ncame to be a fool's errand.