According to NATO Strategic Communications Centre of Excellence, Gazans ARE taught to "revile the enemy" by Hamas.
"The Gazan defensive worldview is deeply engrained into the social fabric of the population. Children are raised to revile the enemy, i.e. Israel. There is limited critical thinking and access to information or to independent analysis. This significantly limits Israel’s ability to influence the Gazan population in such a way that it recognises the actual benefits of not being aligned with Hamas."
It's not incitement to hatred to note or explain the reality of Gazan social climate on the ground.
It doesn't mean ALL Palestinians agree with that particular ideology, but only a minority of Gazans are opposed to Hamas.
NATO StratCom COE identified this too:
"Local Gazans are not necessarily ideologically linked with Hamas’ struggles, but rather are facing existential crises, e.g. loss of life, livelihood, property, and controlled access to basic necessities (e.g. food/water/medicines), and this level of duress causes Gazans to choose the closer, more tangible support system, i.e. Hamas."
See NATO StratCom COE 2019 report entitled "Hamas' Use Of Human Shields In Gaza 2008-2014" under the thematic area of Lawfare.
I note above someone mentioned Catholics and Protestants in Northern Ireland. Its not exactly controversial as Republicans have brought their children up to hate Protestants and Loyalists theirs to hate Catholics in the past. But most did not - Nationalists and Unionists did the opposite. Being from a Catholic family who are NOT Republicans, Nationalists or Loyalists, we weren't brought up to hate anyone. Hating terrorist groups such as PIRA and UVF is normal though.
But, as I've said on previous threads, the Northern Ireland conflict was NOTHING like the Israeli-Palestinian conflict. Not even close.
Northern Ireland is a very, very poor way to try to understand the Israeli-Palestinian situation. They simply do not correlate.
But you should be aware that Provisional Sinn Féin and Provisional IRA were part of an international terrorist network with Hamas, FARC, Gaddafi, ANC/MK, etc. This doesn't mean the NI conflict is similar to other ones - it means terrorist propaganda tries hard to link them in order to gain supporters to their respective causes. They target what's called "useful idiots".