You meet your destiny on the road you take to avoid it– Jean de La Fontaine in Fables
There are several ways to understand this.
If we want to avoid something in ourselves, we take actions to avoid it, and we may meet it anyway. Life has a tendency to bring it up for us no matter which path we take.
What’s hidden in us is always here. Any number of life situations can trigger it and bring it to the surface. And there is also an inherent dynamic in us that brings what’s hidden to the surface. (Of course, we may resist and struggle with it.)
Also, sometimes, by actively trying to avoid something, we make decisions that causes us to meet just what we wanted to avoid.
For instance, if I try to avoid confrontation, I may avoid revealing important information to someone, and that omission may be the cause of a future confrontation.
The quote is sometimes misattributed to Jung, which is understandable. I imagine he could have said something like it in a specific context.