Heat olive oil in a large stockpot over medium heat.
Add diced onion and sauté for 5 minutes until softened.
Add minced garlic and cook for 60 seconds until fragrant.
Stir in chicken broth, enchilada sauce, black beans, corn, green chiles, and shredded chicken.
Add cumin and chili powder, stirring to combine.
Bring to a simmer and cook for 20 minutes.
Season with salt and pepper to taste before serving with optional toppings like cheese, avocado, or tortilla strips.