by hook or by crook
US /baɪ hʊk ɔr baɪ krʊk/
UK /baɪ hʊk ɔr baɪ krʊk/

1.
by any means possible, whether fair or unfair
:
•
He was determined to get the promotion by hook or by crook.
•
We need to finish this project by hook or by crook before the deadline.