In the name of the Father, and of the Son, and of the Holy Spirit.
Amen.
Saint Joseph, you are the faithful protector and intercessor of all who love and venerate you. You know that I have confidence in you and that, after Jesus and Mary, I come to you as an example for holiness, for you are especially close with God. Therefore, I humbly commend myself, with all who are dear to me and all that belong to me, to your intercession. I beg of you, by your love for Jesus and Mary, not to abandon me during life and to assist me at the hour of my death.
Glorious Saint Joseph, spouse of the Immaculate Virgin, pray for me to have a pure, humble, charitable mind, and perfect resignation to the divine Will. Be my guide, my father, and my model through life that I may die as you did in the arms of Jesus and Mary.
Loving Saint Joseph, faithful follower of Jesus Christ, I raise my heart to you to implore your powerful intercession in obtaining from the Divine Heart of Jesus all the graces necessary for my spiritual and temporal welfare, particularly the grace of a happy death, and the special grace I now implore:
(Mention your request)
Guardian of the Word Incarnate, I feel confident that your prayers on my behalf will be graciously heard before the throne of God.
Glory be to the Father and to the Son and to the Holy Spirit, as it was in the beginning, is now and ever shall be, world without end.
In the name of the Father, and of the Son, and of the Holy Spirit.
Amen.
Read more at: https://www.praymorenovenas.com/st-joseph-novena
Another Prayer:
O St. Joseph, whose protection is so great, so strong, so prompt before the throne of God, I place in you all my interests and desires.
O St. Joseph, assist me by your powerful intercession and obtain for me all spiritual blessings through your foster Son, Jesus Christ Our Lord, so that, having engaged here below your heavenly power, I may offer you my thanksgiving and homage.
O St. Joseph, I never weary contemplating you and Jesus asleep in your arms. I dare not approach while He reposes near your heart. Press Him in my name and kiss His fine head for me, and ask Him to return the kiss when I draw my dying breath.
O Saint Joseph, hear my prayers and obtain my petitions.
(Mention your intention)
St. Joseph, patron of departing souls, pray for me.
(This prayer is said to have been found in the 50th year of our Lord and Savior Jesus Christ. In 1505, it was sent from the pope to Emperor Charles when he was going into battle.)