1.
to quit a disreputable occupation or habit for good; to go straight
To leave a shady or undesirable way of life for good, such as gambling, crime, or a bad crowd, and jokingly any long-standing pursuit; literally 'to wash one's feet', from monks washing their feet after walking outside. The thing left behind is marked with から.
Literally 'to wash one's feet.' Unlike English 'wash one's hands of', it means quitting a way of life, not disclaiming responsibility.