He has lived by his wits as the saying goes.
As the saying goes, he has lived by his wits.