One of the things I’ve always done is try to not over-constrain my options. I go through life not really expecting the next step too often and see what’s on offer at any given time.
So I might have a good lead on a job — a job I wasn’t even really looking for — or even really wanting.
You can call it luck if you want.
I just call it being ready for what happens to land near my plate.