The Devil is not a third party entity. The Devil (aka serpent, dragon, satan) is actually a "spirit". The Devil was never a "good" guy. The Devil is not apart from man. Let me use what REALLY happened in the Garden to make it more clear:
Adam was the one talking to Eve and convinced her to...