Advice please

So my boyfriend cheated, a few times. I forgave him. I messed up one time (no I didn’t have sex with someone else, but I almost did) and now he won’t forgive me. Everything I do is me proving my feelings are real and that I messed up, but that’s not enough.