No, Iran’s beef with Israel dates back before the 7th century when the Banu Qurayza resisted the teachings of Muhammad and his authority. Heck they even have recorded history in 628CE when Muhammad marched on Khaybar to attempt to slaughter Jews. There has been generational slaughter between Muslims and Jews for a very long time.
Except the current conflict isn’t about being Jewish. It’s about the people of Gaza, the West Bank, and broader actors like Iran and its proxies opposing the state of Israel. While Israel’s Jewish identity is part of its character, the conflict is primarily about territory, sovereignty, and political power—not religion (though I recognize that the pro-Israeli voices in this forum deny this).
Also, Israel did not exist in the 7th century. However, to your point, I agree—it’s well documented that the Jewish people and their religion have endured a long history of persecution and oppression. Given that history, it’s both astonishing and deeply sad to see Israel engage in policies and actions that brutally oppress other groups of people.