Which came first, the Torah or the Rig Veda? The caste system is older than Judaism methinks (I ent frighten to call them by name).
Actually I think the potential for such ideology has always existed in humans; xenophobia is the negative flip side of group solidarity. Certainly some cultures emphasize it more than others. Jews being one such but certainly not the only one.
FAIR USE NOTICE:
This site may at times contain copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.
For more information go to: http://www.law.cornell.edu/uscode/17/107.shtml