Can anyone point me toward the etymology of the word "wherewithal?" My know-it-all son is stumped!

Thanks,
Spook