Add the onion, garlic, carrots, celery, mushroom, and pepper to a food processor and chop into small bits.
Heat the oil in a pan on medium-high heat and add in the chopped vegetables and salt.
Brown the vegetables in the pan for 15 minutes, stirring frequently. (Do not skip this step! Browing the vegetables is where all the flavour happens!)
Once the vegetables are browned, add in the wine. Cook on medium heat until the wine evaporates.
Next, add in the lentils, and crushed tomatoes, and the rest of the ingredients (except the pasta) and mix together until well combined.
Lower the heat to low, add in the water and let cook down for another 20 minutes.
Remove the bay leaves and slightly pulse the sauce with an emulsion blender.
Serve over your favorite spaghetti or pasta.