“persons who willfully and knowingly commit such an act die in a state of mortal sin”
No
The giving hope part and the Christian burial. They should have said it the first time.
baltimore-catechism.com/lesson33.htm
PREVIOUS TEACHING
Q. 1274. What sin is it to destroy one’s own life, or commit suicide, as this act is called?
A. It is a mortal sin to destroy one’s own life or commit suicide, as this act is called, and persons who willfully and knowingly commit such an act die in a state of mortal sin and are deprived of Christian burial. It is also wrong to expose one’s self unnecessarily to the danger of death by rash or foolhardy feats of daring.
CATECHISM OF THE CATHOLIC CHURCH TODAY
2283 We should not despair of the eternal salvation of persons who have taken their own lives. By ways known to him alone, God can provide the opportunity for salutary repentance. The Church prays for persons who have taken their own lives.
They pray now. No church funeral before - that means your out. If you died in the state of mortal sin there was no hope. That was a constant teaching. Venial sin = purgatory. Mortal sin = hell. Nothing about “by ways and means known to Him” or “God is not bound by His own sacraments.”