Why are melee units better than archers? If you don't take archers, the only archer stack you'll have is liches, and they're large and easily blocked. But even if skeletons deal little damage, they can play a very good role in a direct attack.
However, archers are needed against neutral creatures. It's not that you can't do without them, but it's better to have them...