I like his mindset here. He's helping his best friend with a serious problem and he realizes he can't do that in his current state, so he takes action to improve himself for her sake. It's really healthy and wholesome. He's already a good person and he's gonna become even better like this. And when the romance finally blossoms, it's gonna feel earned.