That's gotta be one of the saddest and most pathetic things I've ever heard. Learn magic tricks not for your own enjoyment but to get pussy? What a miserable existence.
I don't wanna trigger the "I go to the gym to fight my demons" morons again but I promise you vast majority of showy things men do is implicitly to impress women. Women tend to not process that because they get baseline attention by default by virtue of being women (so NOT doing anything for yourself is a weird concept) while men will never admit it because it's perceived at large as 'loser' behavior.
You end up with a trillion dudes who play guitar in highschool and let that shit stack dirt once they see it ain't getting them nowhere.
If you do anything with at least some awareness of how it changes external perception, being attractive or getting attention has to be at least mixed in your motivation for doing it. Maybe it's not for women only, maybe it's for peer respect, maybe it's for general validation but it is done in part for positive social feedback.
bro this ain't reddit, you can be sarcastic without telling us about it. /s