How can I stop loving and missing him and justifying his mistakes?

I know he's an irresponsible and Immature person
I loved him for years but he cheated on me with another girl and then when i forgave him he broke up with me.. he says that being in his life reminds him of what he did to me (cheating )

How can I stop loving and missing him and justifying his mistakes?
Post Opinion