He is caught between a rock and a hard place. He can stay in a bad marriage or pay alimony.
A reference to Odysseus' dilemma of passing between Scylla and Charybdis (figuratively a rock and a hard place). Scylla was a monster on the cliffs and Charydbis was a dangerous whirlpool. Neither fate was more attractive as both were difficult to overcome.