Others have already explained how it actually tends to take all the paths, just with different strengths, and probes them in a certain way. But lightning is actually quite a bit more involved still:
The final bolt is clearly not taking the “shortest” path as evidenced by it being zig-zagged even while still in mid-air. It actually finds its path in a stepwise method. The charge wants to go downward (or up) and “sends” little probing charges out. If they are favourable it can jump to them, and then send more probes from the new location. This happens in parallel with multiple paths, forking potentially many times.
At some point one of the probes gets close enough to ground (or whatever else the charge wants to flow into) and establishes a connection. In that moment and only limited by the speed of light, all of the remaining energy of the lightning flows towards the zig-zagged path to that one final node. This is what we then see as the actual lightning bolt! It is highly random, not the shortest route, because each step has some variation, not a unique direction to go.
There is [a very nice video by the Slow Mo Guys](https://youtu.be/qQKhIK4pvYo?si=bx3-AeM1N1N5uqdj&t=301) where you can clearly see the entire process multiple times.
Latest Answers