go to any length(s) to (do something)

go to any length(s) to (do something)

To do whatever is necessary to accomplish or attain something, no matter how extreme. Often used hyperbolically. I will go to any length to get an A in this class, professor. I'll clean your office, wash your car—anything! He said he's willing to go to any lengths to get us a reservation for this Saturday night!
See also: any, go