Price of a pro-pack (50 rolls of 36 exp) of Ilford XP2 Super is about $300 @ B&H Photo. That's 1800 exposures. Processing negatives at a good lab will run about $5 per roll, for another $250. That comes to about $0.31 per exposure.
My average for the past eight years of photography has been about 14,000 exposures per year. That's $4300.00 for film and processing per year, never mind any additional costs of scanning and the time involved in making scans. Yeah, I can cut the costs some by buying Tri-X in 100' rolls, spooling it myself, and processing it myself. But then look how much more time I'm spending in the process.
You might consider that "an awful lot of film", but it's what I do. I have an M4-2 and I love shooting with it, but I know that it will be much more expensive to use the way I can use the M9, and the cost of media alone will pay the difference in cost between the M9 body and the M4-2 body in less than two years if I shoot the same way with it. And the following two years, the M9 is free where I'm still paying for film for the M4-2...
There are differences in imaging character and quality between digital and film mediums, but "better" and "worse" are too broad to connect to them. They simply look different until you know the medium and what to do with it to obtain what you want from it. If you like one more than the other, that usually means that you're comfortable with the one you like and haven't learned the other well enough yet.
I'd have to say that on the basis of sensitivity, resolution and editability, digital capture with an M9 blows away anything I can get out of the M4-2 unless I go to the long-discontinued Agfa APX25 film I still have in the freezer and work very hard at it. Certainly nothing I'm going to shoot with ISO 400 B&W film or ISO 100 color film is going to match what I get out of the M9 at ISO 800.
Been through all this many many times. I love working with film ... it has charm and a beautiful imaging signature. But I make far more, and better, images working with digital capture now, to the point that given a choice, I'd dump all the film cameras in a second and just keep the M9, three lenses, two batteries, and a brace of 16G memory cards if I had to. More photography, less tedium in managing media this way.