QWERTY's initial design was for typewriters. To prevent jamming of typebars, commonly used letter pairs were not placed together.
Saying that it was designed to be inefficient is wrong, however it's fair to say that preventing typewriter jams overrode typing efficiency as a design consideration.