01 - If using bacon, cook the diced bacon in a large skillet over medium heat until crisp. Remove and set aside, reserving 1 tablespoon of bacon fat in the skillet. For a vegetarian version, heat 1 tablespoon of vegetable oil instead.
02 - Add the chopped onion to the skillet and sauté until translucent, about 3 to 4 minutes. Add the minced garlic and cook for 1 additional minute until fragrant.
03 - Stir in the drained beans, barbecue sauce, ketchup, Worcestershire sauce, water, brown sugar, molasses, smoked paprika, mustard powder, black pepper, and salt. Mix until evenly combined.
04 - Reduce heat to low and simmer uncovered for 15 to 20 minutes, stirring occasionally, until the sauce thickens and the flavors meld together.
05 - If using bacon, stir the crisp bacon pieces back in just before serving. Serve hot as a side dish or main course.