“In 638, Palestine came under Muslim rule with the Muslim conquest of the Levant. One estimate placed the Jewish population of Palestine at between 300,000 and 400,000 at the time.[87] However, this is contrary to other estimates which place it at 150,000 to 200,000 at the time of the revolt against Heraclius.[88][89] According to historian Moshe Gil, the majority of the population was Jewish or Samaritan.[90] The land gradually came to have an Arab majority as Arab tribes migrated there. Jewish communities initially grew and flourished. Umar allowed and encouraged Jews to settle in Jerusalem. It was the first time in about 500 years that Jews were allowed to freely enter and worship in their holiest city. In 717, new restrictions were imposed against non-Muslims that negatively affected the Jews. Heavy taxes on agricultural land forced many Jews to migrate from rural areas to towns. Social and economic discrimination caused significant Jewish emigration from Palestine, and Muslim civil wars in the 8th and 9th centuries pushed many Jews out of the country. By the end of the 11th century the Jewish population of Palestine had declined substantially.”
https://en.m.wikipedia.org/wiki/Jewish_diaspora
You make it sound like they were treated like equals and then only discriminated against many centuries later in a decline. But really, history shows us that they were initially treated well for a few years as they had just been conquered (a classic historical power solidification move) but were then treated terribly the entire rest of the time under Muslim conquest.