Back in the days of teaching Junior Church, this was one of those songs that communicates such an impactful message to children and in addition also has a great tune.
The title is “Shadrach, Mesach, and Abednego” and was written by Hugh Mitchell.
First line begins
Three good men lived very long ago,
Shadrach, Meshach, and Abednego . . .
The song later says, “to an idol they would never bow.”

What a testimony these three men had. Oh that our youth would grasp the same desire and live it in their lives!
This is also a great song for teens and those learning to play an instrument.

Where to find:
Salvation Songs Favorites (published by CEF) Song #27 in book. (This is a great book – it has some of those harder-to-find children’s songs.)
For those who use CCLI, lyrics and chords can apparently be obtained here.