marry way out of
marry (one's) way out of (something)
To escape some state or condition by marrying someone with the appropriate means or resources. She says she married for love, but I'm still convinced she just married her way out of bankruptcy. You aren't in love with her—you're just marrying your way out of loneliness!
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.
marry one's way out of something
to get out of something, such as poverty, by marrying someone. She was able to marry her way out of poverty but regretted it in the long run. Sally married her way out of one unhappy home into another one.
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.