1 Corinthians 12:10, To Another Divers Kinds of Tongues
The ability to speak in a foreign language is given as a supernatural gift of the Holy Spirit to those who have no knowledge of the language prior to their bestowment from God. It was given as a temporary sign-gift to authenticate the message of the gospel before the Scriptures were completed.