Genesis 11:1 (ESV)

1 Now the whole earth had one language and the same words.

The Holy Spirit here highlights the fact that all people on earth at that time spoke the same language. Everyone was able to communicate with others without any difficulty. The reason this is mentioned here because something is about to happen that would change this completely.