The Apostle Paul wrote most of the New Testament while being a prisoner in jail. Even though he was locked up, he never allowed that to hinder his ministry. He wrote to the church at Philippi and shared the secret he learned to being content in every situation.