Meaning of “go to great lengths to do sth” - Learner’s Dictionary

go to great lengths to do sth

to try very hard to achieve something:

He'll go to great lengths to get what he wants.

(Definition of “go to great lengths to do sth” from the Cambridge Learner’s Dictionary © Cambridge University Press)