I wouldn't because I've always been able to work and earn my own living (in fact dp was unemployed with no obvious prospects when we first got together).
But I would probably consider it if I was in desperate circumstances, like the young mum in My Name is Joe. I'd have to like and respect the person, but if I was in dire straits, especially if I had kids to support, then I would marry a steady earner who liked me without loving him myself.
I'd never marry for money if that means marrying a higher earner because you want a lavish lifestyle and loads of material stuff.