The decision to change is still dependent on him and has nothing to do with you. More so, the decision to leave is dependent on you, and should not be determined by his willingness or unwillingness to change, you should always do what’s best for you.