Male is literally the same kind of word just for the opposite sex/gender; the term specifically points out the ability to produce sperm (in many dimorphic species) for the purposes of reproducing with the opposite sex. It’s literally just saying “your distinguishing characteristic is your ability to inseminate another of your species” and is just as dehumanizing.
The reason you would use it in that context is because it’s “[gender specific noun] of all ages.” Where if you were to say “boys of all ages” or “men of all ages” it would imply either all ages under 18 or all ages at or over 18.
This is the same context in which you would use female as a noun, as girl/woman implies a restricted age range, just as boy/man, when you specifically don’t want one.
Having lived in a few many venomous-spider rich areas, I bang my shoes together while holding them upside down to prevent this. Only had a spider come tumbling out once but that reassures me that it does the trick.