The US and the Soviets had operational ICBMs at pretty much the same time-- dueling milestones from 1957 to 1959.
Then the Soviets pulled ahead with capabilities in LEO, which showed they also probably had "better" ICBMs.
Then the US caught up and surpassed them.
Then both stagnated; Russia did a slightly better job in choosing priorities for human spaceflight; the US did a better job with probes and unmanned spaceflight.