The group's leaders are bracing their followers for military defeat while urging them to unleash terrorism.