Lucas also pillaged Gibbon's Decline and Fall of the Roman Empire for his overarching world setup. It is, like many pieces of art, a congee made of copypasta.
And, yes, I take your point about the yellowface: it's bad. It would be nice if Lucas had done more to promote the work that he was copying (as Tarantino did).