I am wondering if you were truly sorry, that God would forgive you of your mortal sins out of confession?
Q. 765. What is perfect contrition?
A. Perfect contrition is that which fills us with sorrow and hatred for sin, because it offends God, who is infinitely good in Himself and worthy of all love.
Q. 766. When will perfect contrition obtain pardon for mortal sin without the Sacrament of Penance?
A. Perfect contrition will obtain pardon for mortal sin without the Sacrament of Penance when we cannot go to confession, but with the perfect contrition we must have the intention of going to confession as soon as possible, if we again have the opportunity.