I have a friend like that. He has a drinking problem. Everyone in the friend group gradually stopped inviting him to events. At one point we told him he had a problem and needed help. He still calls weekly but until he takes care of the problem it’ll stay that way