单项选择题

The chief force that motivated John Bunyan to write The Pilgrim's Progress was his ______.

A.political commitment
B.religious fervency
C.artistic pursuit
D.long suffering in the prison