The pocket knife came before the pocket. The inventor of the knife needed someplace to put the knife, thus the invention of the pocket.