Why would a guy make sure to tell me he had many women?

I was in a casual relationship with this guy for nearly two years. Currently we are friends. He got mad when I told him he is a bit inexperienced in life, never having been through any real hardship. He instantly made sure to tell me he had many women throughout the years. Why would he even react like this? Why would he be so keen on letting me know he had lots of women when I wasn’t even talking about that at all?

Why would a guy make sure to tell me he had many women?
Post Opinion