I hate myself

So after breaking up after a seven year relationship, me ex boyfriend has a girlfriend already after not even a whole month. I hate myself for being upset about it. I wish I could uninstall my feelings. I’m just tired of feeling betrayed