Speculative fiction in general and roleplaying games in particular rip off real myths and religion about as often as not. D&D is a trend setter for games in both regards: early D&D merrily appopriated dozens of sources just like its inspiring fiction had, then some people took offense to that and TSR adopted a policy of "no real gods or religion, promise!" for a while. TSR was never good at sticking to this, so the earlier trend never really went away, we just got more "totally original god, do not steal!" from the deal. TSR and its policies are long dead, but the legacy lives on in policies of other entities.