While it's probably safe to say that there's still some scarcity of resources, canonical Trek has been pretty clear in arguing that everyone in the UFP lives in such a state of what we would today call wealth that the accumulation of it is no longer a driving concern.
And, yes, in particular, it has been very well-established that energy production is cheap and efficient and plentiful. After all, we're dealing with a society where any two-bit nincompoop can get his hands on his own private, warp-capable ship (Harry Mudd, Bashir's dad, etc.).
And on top of that, the essential idea behind Trek is that humanity has made a conscious, deliberate decision to unify and to put aside the regional antagonisms of the past. That's not something that's gonna be undone. If you do, it's not Star Trek anymore, it's just another generic sci-fi war show.
Go read Honor Harrington or watch Starship Troopers if that's what you want.
And, yes, in particular, it has been very well-established that energy production is cheap and efficient and plentiful. After all, we're dealing with a society where any two-bit nincompoop can get his hands on his own private, warp-capable ship (Harry Mudd, Bashir's dad, etc.).
And on top of that, the essential idea behind Trek is that humanity has made a conscious, deliberate decision to unify and to put aside the regional antagonisms of the past. That's not something that's gonna be undone. If you do, it's not Star Trek anymore, it's just another generic sci-fi war show.
Go read Honor Harrington or watch Starship Troopers if that's what you want.