40 is the prime age for men. You can easily get a younger gf from Thailand/Vietnam/Philippines with minimum effort. And you never know you might find true love (if it exists) as well.
As a disclaimer, I’m very much in favor of international relationships in general but if you are trying to date someone because of economic prowess substituting for physical attraction then you are better suited to doing that in your own country.
Marriage is hard and throwing another culture values and the immigrant experience into the mix can often times make things more difficult.
As relationship advise, i say it’s less stigmatized (no accusations of sex tourism), and easier mentally (no spouse feels like they are the “other” living in a foreign culture) to date someone from a poorer economic background in your own nation. People from small towns have a lot in common with you, no language barriers, no immigration barriers, and should also be seen as a viable option.
It really depends on your country as well. For example in the developed nations there is no real poverty rather it is caused mostly due to personal failing. Most of the poor in America still marry each other, rather than seeking a relationship with a richer stabler spouse. I would say the poor in America can't be compared to the poor in South Asian countries, they hardly know the harrowing desperation that true poverty brings. Also the cultural values of such countries are actually quite positive when it comes to marriage. They prioritize a long term marriage, are ready to compromise and are family focussed. Usually it's a win win situation in most cases for someone who hasn't been able to find a mate in 40 years.