to gain an advantage over sb by doing sth before them
steal a march (on sb)
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition