Slow down on hosting at your place, never go to his, stop lending him money. Extricate yourself from his sloppy chaos ; you don't need to put up with that.
He's an adult, making his own choices. You are also an adult choosing how you like to live. And you now know, this is never going to be more than a friendship. Mr Chaos is not "exclusive" material. Cultivate some more friends to spend time with.
Just regard him as a pleasant companion for shared outings. and as that's all it is, an uncommitted casual friendship.
In your shoes I would be upfront about it and just say to him
"Look, we both know this relationship isn't going anywhere so I've been thinking, what next. What I'd like is for us to remain casual friends who go out together now and then. But I' ve decided I don't want to come to your place or lend money any more because they just don't work for me. "
That's you putting your own needs first. Just like he always has done.