O glorious St. Joseph, spouse of the Immaculate Virgin, obtain for me a pure, humble, and charitable mind, and perfect resignation to the divine will. Be my guide, my father, and my model through life, that I may merit to die as thou didst in the arms of Jesus and Mary. Amen.
Source of the text: Traditional English prayer to St. Joseph from older Catholic prayer books.
This traditional prayer to St. Joseph asks the spouse of the Virgin Mary for a pure, humble and charitable mind and for the grace to die as he did, in the arms of Jesus and Mary. It suits any day, and especially Wednesdays and March 19, his feast.
Where devotion to St. Joseph comes from
Devotion to St. Joseph grew slowly and then widely. The Catholic Encyclopedia notes that the Carmelites, whose reform St. Teresa of Avila filled with her love for him, chose him as their patron in 1621.
Pope Pius IX extended the feast of his Patronage to the whole Church in 1847, and in December 1870 solemnly declared St. Joseph patron of the Catholic Church. His feast is March 19.
The short prayer here is the kind of text older prayer books put in families' hands. Its author is not known.
Sources: Catholic Encyclopedia, "St. Joseph".
How and when to pray it
Pray it for your family, for your work, for a good death, or when you need a father's help. Wednesday is the day traditionally given to St. Joseph.
It pairs well with the Memorare and with a decade of the Rosary.
A verse from the Douay-Rheims
And Joseph rising up from sleep, did as the angel of the Lord had commanded him, and took unto him his wife.
Douay-Rheims, Mt 1:24
A saint tied to this prayer: All Saints, November 1.