From reading your friend's history, I understand that your friend is completely addicted to gambling and there is no other option than rehabbing him. Since your friend bets his entire monthly salary on gambling, your friend has no word of sense of responsibility, so it is important to prevent him from gambling and rehabilitate him. Moreover, your friend is mentally disordered as he is betting with money in addition to monthly salary to recover the lost money. If your friend does not quit gambling then it is never possible to recover the money lost by your friend. So your friend's family should refer him to a good meditation doctor and treat him as per his advice. You as a friend should do whatever it takes to stop him from gambling.
The first thing that must be done is to make the addict aware of the loss he has received. shows the impacts it has had on the people around it as well. until gambling addicts are willing and have the desire to improve. and that way the rehabilitation process will be easier.
An addict is not someone who has lost their mind. So we have to direct the addict's thinking to see the truth of what is happening in his life. Rehabilitating gambling addicts is not easy. Gambling habits that have been carried out for a long time will not be quickly eliminated. all of them require a process to completely stop gambling.