Had your Lord so willed, He could have made all mankind one single community, (but He has granted them free will as against other creatures (5:48)). Therefore, they continue to hold divergent views. Eventually however, the Divine Truth given in the Qur'an will be the dominant force in the world bringing most of the mankind together (9:33), (41:53), (48:28), (61:9).