You might be married to the worst man ever, like Asiah was married to Pharaoh - but it didn’t change her and her loyalty and love to Allah SWT.
You might be married to the best of men, like a Prophet of Allah SWT, and still not be saved from the punishment - like the wife of Prophet Lut (alaiha salam).
You might be not married to any man, like Maryam (alaiha salam), and Allah SWT can make your rank higher than any women on the Earth. Know your priorities.
Love and trust is with Allah SWT first.
The only relationship where you’ll never have your heart broken is the relationship between you and Allah SWT.