There are plenty of generic file hosts that Quad9 doesn't block even though some of the files might be malware, and people would be quite unwilling to use it if they were required to do that. For example, there is nothing stopping anyone from storing malware on Google Drive.
There is also an obvious difference between malware blocking and censorship, which is that the end user wants malware to be blocked and then takes no action to work around the block unless it's a false positive. And for example, Quad9 doesn't block MalwareBazaar because it's where a user would go to get malware on purpose rather than by accident. So the decision is not "does this contain malware" but "does the user want this blocked".
Which is the reason DNS blocking for malware can have some effectiveness. The user can trivially disable the blocking, but doesn't want to. Whereas if you try to use it to censor something the user actually wants, it's completely pointless.
There is also an obvious difference between malware blocking and censorship, which is that the end user wants malware to be blocked and then takes no action to work around the block unless it's a false positive. And for example, Quad9 doesn't block MalwareBazaar because it's where a user would go to get malware on purpose rather than by accident. So the decision is not "does this contain malware" but "does the user want this blocked".
Which is the reason DNS blocking for malware can have some effectiveness. The user can trivially disable the blocking, but doesn't want to. Whereas if you try to use it to censor something the user actually wants, it's completely pointless.