He hurt me, ghosted me, comes back and I feel bad for treating him like I don’t care

I know he did me wrong and I can’t be that girl that’s treated like a doormat. I’m trying to stay strong and ignore his compliments, him asking to hangout etc when the old me would have said yes immediately just to have him back. I feel TERRIBLE after ignoring a simple text. He said “you look amazing” to one of my pics and I just liked the comment. The old me would’ve been like 🥰😘 and going crazy. Idk how to be this strong woman with set boundaries and actually feel good about it. I want him to realize that he needs to come correct and put serious effort if he really wants me in his life