Here is an extract from a Buddhist scripture (the Caturdevarājasūtra) that directly connects the balance of strength between the Asuras and the Devas with Humanities morality:
During the monthly six days of fast, the messenger-princes (dūtakumāra) and the four kings of the gods (caturdevarāja) examine (anuvicaranti) beings. If the people who cultivate generosity, observe morality and honor their parents are few in number (alpaka), they go to the Tao li gods (Trāyastriṃśa) and inform Ti che (Śakra); Śakra and the gods are unhappy (anāttamanas) and say: “Surely the armies of the asuras are increasing and the armies of the devas are decreasing.” If the people who cultivate generosity, observe morality and honor their parents are many (bahu), the gods and Śakra are happy and say: “The armies of the devas are increasing and the armies of the asuras are decreasing.”
source
Note: Śakra=Indra
Now I was wondering if there are any Hindu scriptures connoting the same idea?