This is very good advice. However, healing will always take time and experience.
After the first one ended, I bounced back fairly quickly because I was so focused on losing weight and studying investing that I adapted to a new sense of self and wasn’t bothered by the breakup anymore.
The second breakup resulted in a lot of unproductive wallowing in self-pity. Would not recommend.
Anybody going through a breakup needs to find a self improvement project, pronto. Go exercise, or learn to play a musical instrument, or sign up for dancing classes, or head over to Adafruit/SparkFun and see what all that Maker hubbub is all about.
As soon as you see yourself in a different light, you will have already moved on.