WRONG. We're discussing negatives here. Dedicated film scanners are made so as to be able to scan a wide range of film, very specifically including color transparencies. The density range of those far surpasses that of B&W (let alone color) negatives. Hence, the dynamic range of a film scanner is very high comparative to the density range of a typical (even overexposed and overdeveloped) B&W negative.
The camera has no user-adjustable hardware gain and thus by default is set to a relatively wide dynamic range (it needs to capture a typical daylight scene after all). Since the gamma of a negative is well below 1, this means that even for a wide-range scene, a negative will only occupy part of the dynamic range of the camera sensor. In practice, this is not really a problem given the relatively clean (noiseless) signal from the camera especially if it's used in RAW format (yielding a bit depth of 12 on 15+ year old cameras or more on modern ones). Moreover, it's doubtful whether a scanner performs much better - and in practice it can be argued to do much worse, since hardware gain may not be available either (instead, software 'gain' is used and simply truncates the available signal depth) and sensor noise performance on typically 20+ year old scanners is likely to be far inferior to that of a modern camera CMOS sensor.
There's a lot of hearsay, misunderstandings and incorrect assumptions underlying amateur scanning practices (and some pro conservation scanning as well). What's particularly frustrating is that these falsehoods keep being rehashed on forums, YouTube channels etc. without being challenged, and thus, people keep making choices that go counter to their aims, and spend countless hours trying to reinvent wheels that have been around in perfectly usable form since about the 1990s.