Don't teach men how to love you.
He knew, he knew how to love someone. But not you.
Stop giving him permission to disrespect you by told them how to treat you as you wanted. If you told him more than once and he's still being him, means he doesn't want to. As simple as this.
Never force relationships or communication. if it's not mutual, then let it go. people know exactly what they're doing. if they wanted to match your energy, they would. start rewarding inconsistency with unavailability. allow them to lose you because of their lack of effort.