Replete with verses culled from the Koran and paragraph-long quotes from religious scholarly texts, it acknowledged the “hardships” facing Islamic State, which has been battered in recent months by attacks from a long list of foes, including Russia and the United States.