Well, yeah (although there is a 'default setting' associated with D&D, so I'm sure some people will decide that that is the official one regardless...)
But if in a setting (or a fiction) the heroes are killing goblins because of what they are rather than because of what they do, that's... well, it's unsettling at best.