It certainly does sound harsh, but I believe that the priest was really trying to help you. There is an idea sometimes that, if confession of something is unpleasant, you will be more likely to stop yourself from doing it, because you don’t want to have to confess it. In these unfortunate days, I don’t think that idea works, because it seems more likley that the person will just stop going to confession. Possibly the older priest is still (in his mind) living in the days when not confessing a mortal sin would be unthinkable to most Catholics. In that environment, what he did might work.
And for some of what he said he was partly right, too. Praying for help is a good idea, of course. But what I think he was trying to get at is that you have to have a “firm purpose of amendment.” You have to have at least some idea that you will be successful in overcoming temptation. It will still be hard, even with God’s help. You will have to work hard and expect that you will succeed. You may be wrong in that expectation. However, if you assume that you will not succeed, there is a much smaller chance that you will succeed.
In fact, I believe that if a priest has good reason to believe that a “firm purpose of amendment” does not exist, he is allowed to withhold absolution. I haven’t heard of that happening many times, mostly I should think because the priest can’t know what is going on in someone else’s head, but I have heard of a couple of instances. Of course a priest couldn’t do that just because he had a feeling about it. In the cases I’ve heard of (from the penitents, not from the priests of course!), it was because the person was confessing the exact same sin over and over and not actually doing anything to avoid the near occasion of sin. Even so, that is pretty drastic. But the point in these cases is to sort of wake up the penitent to the seriousness of what he is doing and prod him to really do something to stop the mortal sin he keeps commiting. In practice, what it generally does is cause the penitent to choose another confessor. Not unpredictably.
BTW, the job of the priest in the confessional has nothing whatsoever to do with how the penitent feels when he leaves the confessional. Objectively, your sins were forgiven–that was his job.
That said, of course he went way overboard and it wasn’t nice for him to do that. The part about the lying was particularly inappropriate. But if you think of it more as “tough love” than just some priest being mean, it may help you. You can’t absolve him like he can absolve you, but you can forgive him, and the only one who is hurt if you do not forgive him is you. Certainly you can send an anonymous note to the priest or pastor as well. Just because you forgive him, doesn’t mean he should keep on doing it.
And I certainly agree with Lily that yours was an extremely unusual confession experience.
God bless you and help you to overcome the problem, and grant you comfort and consolation regarding the things in your living situation that are out of your control.