Swim-upstream Definition

verb

(idiomatic) To opt for a difficult course of action when a simpler or safer alternative is available; to make an unwise decision against sound advice.

I told my daughter to get her hair dyed at a salon, but she had to swim upstream and do it herself. Now it's a mess.
Wiktionary