The theme that is most evident in the story of The Devil and Tom Walker is greed. The reason being that because of his greed he ends up selling his soul to the devil. Toms quandary with the devil and his greed is actually a warning to readers to not become blinded by it.
I hope it helps, Regards.