Heat olive oil in a large pot over medium heat.
Add diced onions and cook until translucent, about 5 minutes.
Stir in the minced garlic and cook for another minute, until fragrant.
Add the drained white beans, cooked chicken, diced green chiles, chicken broth, cumin, and chili powder.
Stir to combine and bring the mixture to a simmer.
Add salt, pepper, and corn, continuing to simmer for another 10-15 minutes.
Remove from heat and let sit for a few minutes before serving.
Garnish with fresh cilantro, if desired, and serve warm.