Let go of the idea that careers are linear. These days, they are much more like a field of stepping stones that extends in all directions. Each stone is a job or project that is available to you, and you can move in any direction that you like. The trick is simply to move to stones that take you closer and closer to what is meaningful to you. There is no single path — but rather, an infinite number of options that will lead to the sweet spot of fulfillment.
Careers are messy but progressive and non-linear. Keep the faith.