While Venerable Matt Talbot may not have been aware of this prayer, St. Francis of Assisi was an important model for Matt as he joined the Third Order of St. Francis, known today as the Franciscan Secular Order, in 1890, six years into recovery.]
Fr. Joe Tonos
Here's an excerpt from the book:
First let’s look at a really good prayer. We won’t have far to seek; the great men and women of all religions have left us a wonderful supply. Here let us consider one that is a classic.
The woman concluded her praise of the saint with this, and I paraphrase, "St. Francis was an irascible, ill-tempered man when he could be and he once wrote that, 'When I am at my worst, when I am at odds with everyone and everything, it is then I pause and give God thanks because he has shown me what I would be without his grace.' She then peaceably with a smile said, "He understands us alcoholics."