That's the Catholic answer.
Wanna argue over something you heard in the past knock yourself out but there is no other Catholic answer no matter what a priest, nun, deacon, or even pope may have told you.
That is what I was told when I went back for a refresher course in the early seventies: all sins can be forgiven. From the priest at Saint Patrick’s who was leading the course.
It was a very interesting class. Many were first-time converts. The priest called on everyone who raised their hand.
One time a guy raised his hand, and when the priest called on him he said, “I want to tell you about my conversion.” We all got ready for a long story, but he just said, “I got lost in an orchard,” and sat down.