Next, mix in the chopped garlic, thyme, and flour. Continue to cook this combination for an additional 2 to 3 minutes until the flour is lightly browned.
Slowly incorporate the broth while stirring to deglaze the bottom of the pan. Then add the milk and diced potatoes. Bring the mixture to a boil, lower the heat, and let it simmer until the potatoes are tender, approximately 10 to 12 minutes.
Finally, stir in the diced ham and corn, cooking until everything is warmed through. Adjust seasoning with salt and pepper according to your preference.