The Twilight Zone 1959 (Season 3, Episode 11)

In this Civil War-era TV program, Confederate soldier Joseph Paradine discovers a motionless Union Army and an old "witch-man" named Teague in a valley. Teague claims his magic spell can freeze soldier in time but using it requires aligning with Satan. Despite initial disbelief, Paradine's superior officer encourages him to use the spell book to win the war. Paradine refuses, choosing instead to burn the book. The Confederate soldiers, including Paradine, are moved to Gettysburg, where they fight without the Devil's help.