Through Thick and Thin

What does the expression “through thick and thin” mean?

Definition: in good times and bad

Example: I can’t break up with Evan—he’s stuck with me through thick and thin.