In Quran its clearly mentioned that dont get divided into sects hold on to the rope of Allah but still why there are so many sects in Muslims?
And if Allah wanted us to be one then why Allah did not guided Muslims to be one?

If Allah makes every person follow one faith, then there is no trial and we don’t have free will. Your duty is to follow what Allah commanded you to follow. All main Sunni texts state that one should follow Quran and Ahlul Bayt, then why do they follow Abu Bakr and Umar? This is the question that should be asked.