That’s precisely what the Catholic Church teaches. He give his grace to us through the sacraments as a result of prayer, etc.
Maybe you should think about not praying because that adds to what Jesus did.
I do not pray for those who have apssed on, their die is cast.
I do pray for the living, especially those lost. Big difference