Sentence meaning: "But there certainly are not so many men of large fortune in the world as there are pretty women to deserve them"
Solution 1:
It's 1.
The infinitive "to deserve" is proximal to "pretty women" and builds off of the noun phrase. Furthermore, structurally the last part is
as there are women to deserve them.
Them goes back to the only plural noun outside of this clause, men. So even reading the last part of the sentence suggests:
as there are women to deserve (men of large fortune).
Unfortunately, there are more pretty women than men of large fortune in the world.