Divine retribution : Divine retribution is supernatural punishment of a person, a group of people, or everyone by a deity in response to some action. Many cultures have a story about how a deity exacted punishment upon previous inhabitants of their land, causing their doom.
So God personally punishes people or individuals because of there sins/bad karma.
Is this concept mentioned in the Upanishad and the Vedas, do advaita vedanta believes in these kinds of doctrines?