"Yes, especially those that invented the "confession" so a priest is able to know a lot of people's secrets and use them at his own advantage."
I hold no truck with religion, it does nothing for me but I'm tolerant of it as a lot of people find consolation from it, it helps them and at grass roots levels going to church once a week and a bit of bible flicking every so often it not doing much harm.
I think a lot of the customs in the church started off with good intentions. The confessional, in it's raw form, is simply "a problem shared, is a problem halved". If you discuss what's bothering you with someone, you feel better for offloading that mental baggage. Sadly the reality in some cases is exactly what you said. Not every priest is a nice person, there are a lot and I can imagine most are good guys who want to do a good job but the nasty onces get in and they take advantage of it. The peadophile priest who hears the confession of the vunerable youngster and uses that to groom the young person, that's an obvious abuse of trust and ruins the idea of the confessional.
I think you need to look objectively at what prompted the ideas behind religious customs. A lawless, dangerous world and religion offered hope hundreds, thousands of years ago to people living short, brutal, dangerous lives where a horde of vikings might over the hill tomorrow and slaughter your family! As I say I hold not truck with any religion, in the modern age a lot of it can be a prison for the mind but we live in seriously uncertain times and I have some respect for those who keep faith and it helps them from going off their chump. I suspect like you, I put my faith in myself and my family to help me through rough times, my parents brought me up to rely on myself, use logic and common sense to get you through, others weren't so lucky, cut them a little slack.