If you say the Devil punishes people, do you mean that he causes people to suffer? Because he definitely does. On the other hand, God has allowed people to make the choice to serve him which doesn't bring punishment. Or to serve themselves or the Devil's interest, which sooner or later leads to harm or punishment.
So I agree that it would make no sense for God and the Devil to work together as would be the case with hellfire punishment.