Careless words can become the source of great misfortune.

Literal

Careless words [topic-は] great calamity's source [into-に] become [probably-であろう].

不用意な = 'careless/thoughtless.' 災いのもと = 'the source of calamity.' であろう = formal conjecture. A proverbial warning.