Can I Decide Not to Think About Something Anymore?

Hi! I have stopped overdrinking and overeating and buffering with not suitable men, and at this point I have decided that I don’t want to spend time doing these things or thinking about it, as well as having thoughts that consist in comparing myself to others and hating other people, because there’s really no upside for me, and I want to spend my time focusing on me and focusing on creating the extraordinary life that I want.

I don’t think that I want to avoid feeling these thoughts but rather I want to best use my time. But I’m not sure that it’s OK to refuse some thoughts? When they kick in (for example I compare myself with another lady), I remember that I have decided not to do that anymore, but am I resisting it by doing that? Maybe I can just accept the thought but not react and just keep taking actions to focus on me and create what I want.

Thanks for your help.