fool's errand
A foolish undertaking, especially one that is purposeless, fruitless, nonsensical, or certain to fail.
If I were to travel only that I might be discontented with that which I can get at home, methinks I should go but on a fool's errand.