Israeli police say a Jewish man has stabbed an Arab and later confessed that he did so because of the victim's ethnicity.

Police spokesman Micky Rosenfeld said the assailant shouted "death to Arabs" as he attacked the man on Monday.

The Arab man was wounded lightly in the shoulder and required medical treatment. Police said the wounded man is a 27-year-old municipality worker in the city of Herzliya, north of Tel Aviv.

Rosenfeld said that after police questioning, the attacker confessed, saying he stabbed the man because he is an Arab. The attacker, a resident of Herzliya, is set to appear in court on Tuesday.