If God had so pleased, He could have made them a single community, but He admits to His mercy whoever He will; the evildoers will have no one to protect or help them.
If Allah had so willed, He could have made them a single people; but He admits whom He will to His Mercy; and the Wrong-doers will have no protector nor helper.