Given that by hand you use much more hot water than the dishwasher would, you're using more electricity (or gas). Since a little pump doesn't use much at all, it's mainly just the drying heat that matters. Though nobody is forced to use the drying cycle - if one enjoys drying dishes by hand, they can still use the dishwasher to do the washing.