Chop bacon into small pieces and heat over medium-high heat in a deep saute pan for 2 to 3 minutes until the pieces begin to cook, drain fat (can also use saute function on Instant pot)
Add olive oil, onion, celery, and carrots to pan and continue to cook until vegetables soften slightly, about 2 to 3 minutes.
Add garlic, zucchini, and cabbage or spinach and continue cooking for another 1 to 2 minutes.
Add beans, tomato sauce, diced tomatoes, chicken broth, and basil. Raise heat and bring to a boil.
Immediately reduce heat and simmer over low heat for 30 minutes.
When finished cooking, season to taste with salt and pepper.
Serve with pesto thinned with olive oil and grated cheese.
Soup will thicken over time if storing or preparing in advance
May be cooked on stove top (as instructed above), Instant Pot (after sautéing vegetables [steps 1 and 2] use manual pressure for 12 minutes to cook soup, then quick release), or using crockpot (high for 3 hours or low for 6 to 7 hours). If using crockpot, recommendation is to saute bacon and vegetables from step 1 and 2 on stove top.