Grieve what was, without apology
Before you can rebuild, you must allow yourself to mourn. Not just the obvious losses (the marriage, the job, the relationship), but the smaller ones too. The version of yourself who believed things would go differently. The future you had planned. The identity you wore so long it felt like skin.
Grief is not weakness. It is the price of having loved something. Give yourself permission to feel it fully, without rushing toward the silver lining. The silver lining will come. But first, let yourself be sad.