to gradually get closer to sb / sth that is moving or making progress in an activity
gain / make up ground (on sb / sth)
to gradually get closer to sb / sth that is moving or making progress in an activity
The police car was gaining ground on the suspects.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition