Take your Instant Pot and place the chopped onion and oil or water; if you don't want to use oil, set the instant pot to saute mode and let the onion cook for about 5 minutes, stirring occasionally. After the 5 minutes, add the spices, chili powder, cumin, oregano, basil, and salt,sugar and fresh garlic, stir for about 30 seconds to a minute. Add your beans, corn, tomato sauce, crushed tomatoes, water, and red wine vinegar, and stir until well combined.
Switch the instant pot to manual for 10 minutes, let this cook, then let it naturally release. Let this cool before serving for the flavors to blend nicely.
Stove top directions; Get a medium to large pot out and add the onions and oil, stir, and let cook for about 5 minutes until the onion is cooked. Next, add the spices and garlic, and stir for 30 seconds to 1 minute. Add your beans, corn, tomato sauce, crushed tomatoes, water, and red wine vinegar, and mix well. Place a lid over the pot, turn it down to low and cook for 45-60 minutes, stirring as needed. Let cool before serving.