Patron of the dying.

St. Joseph
He is considered the patron of a happy death because he died in the company of Jesus and Mary. I have a private devotion to the most pure heart of St. Joseph, because I believe there is no other saint whose heart was so pure and devoutly faithful to the Will of God. He cared for the Blessed Virgin as the most loving of husbands, and raised the Child Jesus as the most wise and loving of fathers. His heart was definitely pure and chaste, inflamed with love for God alone - more fiercely than all of the Patriarchs who preceded him. Jesus said, “Blessed are the pure of heart, for they shall see God.” Joseph’s death was happy because he saw God. He lived by faith and his faith was so intense, it can only be equated with vision of things unseen - God Himself in Christ Jesus.
Holy Mother St. Teresa of Jesus on St. Joseph:
Would that I could persuade all men to be devoted to this glorious Saint, for I know by long experience what blessings he can obtain for us from God. I have never known anyone who was truly devoted to him and honored him by particular services who did not advance greatly in virtue: for he helps in a special way those souls who commend themselves to him. It is now very many years since I began asking him for something on his feast, and I have always received it. If the petition was in any way amiss, he rectified it for my greater good . . .” I ask for the love of God that he who does not believe me will make the trial for himself, then he will find out by experience the great good that results from commending oneself to this glorious Patriarch and in being devoted to him. - St. Teresa of Avila