女氏無くして玉の輿に乗る(おんなうじなくしてたまのこしにのる)

Japanese vocabulary

Meaning: even a woman of low birth can gain status by marrying rich (if she has the looks)

See it used in real works