Much of the OT was passed on through oral tradition before being written down in Hebrew. The NT was mainly in greek, though most of the original language that it quotes was in Aramaic.