I found this at CatholicCulture:
Excerpted from The Church's Year of Grace, Pius Parsch:Was James Foley beheaded so that he should keep silent about the truth?
There is no doubt that blessed John suffered imprisonment and chains as a witness to our Redeemer, whose forerunner he was, and gave his life for him. His persecutor had demanded not that he should deny Christ, but only that he should keep silent about the truth. Nevertheless, he died for Christ. Does Christ not say: "I am the truth"? Therefore, because John shed his blood for the truth, he surely died for Christ.