You might put on a little muscle mass, and that may make a girl more likely to check you out or whatever, but the fact that they're the reason you go the gym just demonstrates that you won't ever have what it takes to attract and keep women.
A man always does whatever he does for himself.
A man always does whatever he does for himself.