Being attractive is one of the many ways to gain social advantage.
I don’t know why the phrase, ‘women wear makeup to attract potential mates’ suggests those women also want to have sex with said mates.
I certainly haven’t said that. In most cases, especially where the woman is married, that isn’t true.
They want to appear attractive to people for various reasons. That doesn’t necessarily mean they reciprocate that received attraction.
The bottom line, once again, is that the only purpose of makeup is to improve attractive appearance. That is axiomatic. The reasons to appear attractive are vast and examples have been mentioned in this thread several times.