Stick by/with (someone or something)

To support someone or something.

The woman always sticks by her friends when they are in trouble.