I guess the moral of the story is that the luddite lifestyle is indefensible in the face of modern society, and that the only certain way to secure your claim on your own home is with a fuck ton of firepower. After all, if instead of becoming luddites, the Ba'ku had built a modern society complete with high tech fleets and armies, then the Federation would have respected their claim and we the audience would have been spared this movie.
Probably not the moral that the writers intended, but it seems to be what we're left with.
Meh, the Ba'ku should have turned into scary energy beings and killed Ru'afo and Dougherty Raiders of the Lost Ark style.
Then the moral would have been never assume a seemingly primitive society that seems to know more than they should is a primitive society otherwise you get face melted.
Plus it would have restored the scariness of space from TOS that TNG, DS9, and VOY seemed to like doing away with.
And the movie would have probably been way more interesting.