[Noun (task/thing)] + を + [Noun (person/entity)] + に任せる
[Noun (task/thing)] + を + [Noun (abstract force: 運・流れ・成り行き etc.)] + に任せる
The structure ~を~に任せる means "to leave something up to someone/something" or "to entrust something to someone/something." It expresses the idea of delegating a task, decision, or responsibility to another person or letting something take its natural course.
The most common pattern is [Noun (task/thing)] を [Noun (person)] に任せる, where you delegate a task or responsibility to someone.
~に任せる can also be used with abstract nouns like うん運 (luck), ながれ流れ (flow), or なりゆき成り行き (course of events) to express letting things happen naturally without trying to control them.
When you want someone else to make a decision for you, this pattern is very natural.
Using 任せる implies a degree of trust in the person or thing you are entrusting something to. It suggests that you are comfortable stepping back and letting them handle it. It can also convey a sense of resignation when used with abstract concepts like luck or fate.