The story of "the rich young ruler" (or "the rich young man") appears in all three synoptic gospels (Matthew, Mark, & Luke). It also challenges one's ability to do theological math.
The peace of God, which surpasses all understanding, guarding your heart and your mind in Christ Jesus. (Php 4:7) [A 2017 New Year's Card Talk & Minor Critique of Christian Fatalism]
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.