2 words across 1 languages descend from Arabic ذِي — including الذي, هذي.
See the etymology of ذِي itself →