To be there through thick and thin
Literally 'to be there for the hard and the ripe times'. Describes someone who stays loyal and committed in both good and bad times.
Good friends are there through thick and thin.
She was there through thick and thin, she never let me down.
—Can I count on you? —Always. Through thick and thin.