Telling yourself that comparison is bad has not worked, and it will not, because the instruction addresses the behaviour rather than what the behaviour is doing for you.
Comparison usually persists because it is answering a question you have not asked out loud: am I acceptable. Other people's milestones look like evidence, so you keep checking them. The trouble is that evidence gathered this way never settles anything, because there is always another person and another milestone.
What tends to move it is narrowing the question. Not "have I done enough," which has no answer, but "enough for what, and according to whom." A surprising number of people discover the standard they are failing belongs to someone specific, and that they never agreed to it.
A practical note in the meantime: comparison is strongly linked to how much of it you are exposed to. If most of it arrives through a screen, that is a lever you actually control.
This is general information in reply to a public question, not advice about your own situation, and it does not create a client relationship. If you are in immediate danger, contact emergency services.