What do you think if I tell my friend that she shouldn't date another friend of mine and reveal her everything he confided in me
Why the heck would you want to betray your friend's confidence?
Because he just looked me in the eye and lied to my face. I can not forgive that.
It would be good to warn your friend not to date the other friend if there was a potential danger to dating him, but it sounds like you're just doing it out of spite. You shouldn't tell all the secrets that he trusted you with, or people may begin to see you as untrustworthy. Take a moment to settle down before damage the relationships between all three of you.
I don't care. My friend is my friend and she deserves to know all this guy's dirty laundry.
How would you feel if the roles were reversed? It's wrong to betray a friend's trust when they confide in you unless someone is being abused or their life's in danger. I don't know if it's anger or jealousy that's motivating you, but you need to deal with it.