I am unclear on whether or not you have any professional expertise in aerospace, rocketry, lunar exploration, or Martian exploration, but here is what Elon said last September about why SpaceX isn't going to the moon, quote:
"It really only leaves us with one option if we want to become a multi-planetary civilization, and that is Mars. We could conceivably go to our moon, and I actually have nothing against going to the moon, but I think it is challenging to become multi-planetary on the moon because it is much smaller than a planet. It does not have any atmosphere. It is not as resource-rich as Mars. It has got a 28-day day, whereas the Mars day is 24.5 hours. In general, Mars is far better-suited ultimately to scale up to be a self-sustaining civilization."
And obviously he does not see any compelling reason for using a moonbase as a launching part for missions to Mars. The cost and effort of building a rocket launching facility on the moon would be enormous since everything would have to be brought from Earth, and Elon has said in the past that it is much more difficult to make rocket fuel on the moon compared to making it on Mars.
In my layperson's opinion, building a permanent base on the moon to launch Mars missions from makes no sense. Robert Zubrin, Buzz Aldrin, and many others agree with Elon.