Women are attracted to confident men because confidence is a sign of high testosterone and high testosterone means high fertility and high fertility is the main driver of sexual attraction.