Do not keep on with a mockery of friendship after the substance is gone — but part, while you can part friends. Bury the carcass of friendship: it is not worth embalming.
"On The Conduct of Life" (1822), reprinted in The Collected Works of William Hazlitt (1902-1904).