So the thread in the aluminum was stripped?
There’s a few options that might work. Threadlocker isn’t really epoxy or glue. I’d the thread is merely loose, it’ll keep it from coming out with vibration.
Another option is straight up epoxy- but this would be hard to undo.
Possibly, the best option would be to re-tap the thread. You might be able to get an m4 tap and clean it up with that.
If that doesn’t work, or it’s already that far gone, you could probably go up to an m5, though that would weaken the extrusion more than intended.
If you do want to try re-tapping, avoid the trap of buying tap and die sets. Just get the individual pieces you need (the chuck/holder thing and a the m4 or m5 tap.) a cheap set will still be more expensive than high-quality taps in the 2-3 sizes you actually wind up using.
(Also, general note 1/8” smooth rod is in every hardware store, and a die is much cheaper than 1/8” thread and usually looks neater, unless you need it fully threaded.)