Before chopping, bring water in a saucepan to a boil and cook lentils according to package instructions. For brown lentils this takes about 25-30 minutes.
Once all of your ingredients are chopped, heat olive oil in a large pot over medium heat until shimmering. Add onion and cook, stirring often, for about 2 minutes.
Add carrots, celery, and a pinch of salt and cook together for about 5 minutes, stirring occasionally, until they have started to soften.
Add the garlic and cook until fragrant, about 30 seconds
Add mushrooms and another pinch of salt and cook until they have started to brown and release their liquid, about 5 minutes.
Add diced tomatoes, red wine, tomato paste, herbs, olives, and ¼ tsp of salt to the pot. Bring to a boil, reduce to a simmer, and cook for 20 minutes, stirring occasionally.
Once the lentils are finished cooking, strain, rinse, and add to pasta sauce. Taste the pasta sauce and add seasonings as needed, adding more salt to taste, herbs for balance, and maybe some more red wine if you are feeling frisky! Cook together for an additional 10 minutes.
Bring a large pot of generously salted water to a boil. Cook pasta until al dente, according to package instructions. Reserve at least a 1/2 cup of the pasta water.
Add the pasta to the pasta sauce along with ¼-½ cup of the pasta water, just enough so that the sauce is not too thick and mixes well with the pasta. Mix well.
Divide into bowls and serve, garnishing with a drizzle of olive oil and basil if you like. Enjoy!