Loot a burning house
When a country is beset by internal conflicts, when disease and famine ravage the population, when corruption and crime are rampant, then it will be unable to deal with an outside threat. This is the time to attack. Keep gathering internal information about an enemy. If the enemy is currently in its weakest state ever, attack it without mercy and totally destroy it to prevent future troubles.