I need some advice on this confusing relationship?

My best friend and I have been hanging out together from time to time for years. Then dated. However, he doesn't manage money very well and only makes what he needs and spends all that he has. If he has extra he spends it all on scratch tickets. He always hopes for the big win. When debt piles up he tends to ignore them and pretend that they don't exist. He doesn't want to work hard for it because he feels he is too smart for society but no one would notice. people are nice enough to lend him things and he promises them to pay them back eventually he finds reasons he deems justifyable not to. For example, they make a lot of money anyway or they are a woman abuser and a drug dealer and he doesn't wanna help them. It comes to the point where he just wants to join the arm forces to learn discipline and structure. He wants a purpose in life than everyday boring tasks that he feels doesn't give him the adrenaline rush and proper structure because his childhood didn't give him the necessary tools in life or a proper father figure to be a decent human being. He wants to life life not live for money. He is in debt to me over $5k but he wants to enlist because he is unhappy. What do I do?
I need some advice on this confusing relationship?
Post Opinion