People on the internet rarely have training in Pastoral Theology, Moral Theology or Sacramental theology, and your answer is going to lie somewhere in one of those categories, if not several of them.
While several of us do have such training, it nevertheless is true that nothing is as personal as this sacrament, and a priest who hears a particular confession is in the best position to give particular counsel to that sinner. Were I to have any doubt about advice a priest gave me in confession which did not “feel right”/sound right/ or conform to previous instruction, I would go to another Confessor, elsewhere. (I would also do extra reading on my own, from official Catholic sources, because that would help prepare my intellect for sorting out the truth when I did hear it.)
Thus, it is often helpful as a patient to read ahead about one’s medical condition (short of self-diagnosis!) before one sees the doctor, and especially if there has been a diagnosis. In that way, what the doctor says will “register” with us when we receive advice and information from the doctor. Also, we’ll be in a better position to ask questions.
OP, It’s also hard to “translate” or even relay precisely what a priest says in the confessional, to third parties. If the priest said exactly as you wrote, I can tell you I have never heard that before. Again, none of us was there. Sometimes a priest mis-hears or misunderstands or misinterprets what a penitent says, how he expresses the sin. It is not uncommon for someone to talk about “being tempted” – not because he is really hiding a sin, but because he is focusing on the temptation and how chronic and even overwhelming that is, rather than focusing on the acts, whatever they were. In those cases I have heard/read a priest respond by encouraging the penitent to stay close to the Eucharist. (In that hypothetical case, of course! The priest thought the penitent was anxious about temptation and thought, incorrectly, that the pentitent was confusing temptation with sin, when what the pentitent needed was counsel about temptation, because he was sinning so much!)
Bottom line to the OP: BOTH because the “advice” in post #1 is sketchy, AND the priest might have misunderstood you, it would be good to go to another priest. Be sure you are very clear, first, about
what the sin is. Don’t dance around it, or focus on temptation or the lead-up to sin. Mention that later, if you feel you need to. Confession is first and foremost about particular acts of commission and omission that are unquestionably sinful and not just temptations.
~You could have heard incorrectly
~You could have communicated incorrectly
~The priest, for whatever reason, could have misunderstood you
~The priest
could have given (we don’t know) incorrect instruction.
Therefore, do not receive the Eucharist (is my advice) before being satisfied, from another priest, that you are not in a state of mortal sin – that you have confessed honestly, thoroughly, and forthrightly, and that you have been absolved. (I’m talking about in the future; I assume that you did confess whatever you needed to, completely, and that you did receive absolution, regardless of whatever the priest counseled for the future.)