Answer:
It could be foreshadowing what could happen in the future or be trying to to show the reader this is an important idea and should he remembered.
I think the answer is infinitive.
At a time when no luck was found. I got lucky. I got what others didn’t, a happy life. I know it may sound cliche