Bismillah
In his Ihya Ulum al-din, al-Ghazali says that the Muslim who wants to adhere to good behaviour has first to change his ideas about himself and imagine himself in the desired condition. Then he must gradually assume those good manners, even if he feigns what he does, until they become part of him. When his thinking changes, his behaviour will change. - Prof Malik Badri in Psychology of Personality: Islamic Perspectives