What was the writer’s intention…

What was the writer’s intention when he decided to join his first marathon?