what kind of joke is this? :/

I (30sF) was talking to one of my friends, let's say Joe to protect his name, and I was feeling concerned about my dating prospects. He said "there are 4 billion men in the world. You will be fine!" which seemed encouraging. So I told my other good friend (30sM) who I had a crush on who said he wasn't interested in me, and instead of agreeing with Joe or being equally encouraging, he said "10% are gay, 10% are over 60, 10% are under 18..." like really? It's probably some lame joke he made, but still. Am i misinterpreting that he is being discouraging of me from dating other people?