"Peter didn't know what the Hell he was talking about. He had no idea what the mountain-top experience really represented...Moses & Elijah represented encouragement and a reminder to be attentive to faithfulness, because dark days are coming..."
Refugees: a Bible Issue (take 2) & False Narratives that Lead to Biblical Truth
Samson: A Cautionary Tale
Here's the tl:dr for the lazy: Judges does not present Samson as a hero. The context and structure of the book, as well as the context and structure of Samson's story all point to the same thing: Samson was a self-absorbed human being manipulated, not used, by God. He is an example to be avoided, not upheld.