Dietrich Bonhoeffer was a writer of poetry when he was in prison. His poem, “By Gracious Powers” has since been set to music and can be found in many church hymnbooks…

By gracious powers so wonderfully sheltered,
  And confidently waiting come what may,
we know that God is with us night and morning,
  and never fails to greet us each new day.

Yet is this heart by its old foe tormented,
  Still evil days bring burdens hard to bear;
Oh, give our frightened souls the sure salvation
  for which, O Lord, You taught us to prepare.

And when this cup You give is filled to brimming
  With bitter suffering, hard to understand,
we take it thankfully and without trembling,
  out of so good and so beloved a hand.

Yet when again in this same world You give us
  The joy we had, the brightness of Your Sun,
we shall remember all the days we lived through,
  and our whole life shall then be Yours alone.