That's a very one sided interpretation.
"The slogan has been used by Palestinians, Israelis and their supporters. For the Palestinian side, the slogan has come to be interpreted by some as advocating for a single democratic Palestinian state encompassing what is today Israel and the Palestinian territories, where individuals of all religions would have equal citizenship.
The slogan's usage by Palestinian militant groups have led to claims by critics that the slogan is antisemitic, calling for the dismantling of Israel and denying Jewish self-determination, or that it advocates for their removal or extermination, It has come under scrutiny in the United States and Europe, including being criminalized in some countries."
https://en.m.wikipedia.org/wiki/From_the_river_to_the_sea