You can insert a nonbreaking space between words to make sure that the words always appear in the same line of text.
Press the Space bar while holding down the Option key.