The Song of Deborah is one of several by women in the Scriptures. These songs or prayers of Miriam, Deborah, Hannah, and Mary should be read and pondered. (Exodus 16:21, 1 Samuel 2:1-10, Luke 2:46-55) Verse 2 is the key verse to the song.
Song in God’s Word is a bit of a wonder (not a bit, a lot!).
This song of Deborah’s seems like more of an encouragement to the people who were involved in the battle than pointing to God’s involvement (although she does do that).
A number of times Deborah says her heart goes out to those who offered themselves willingly.
And too, a hard word against Meroz in v23, because they did _not_ offer themselves, to help.
Interesting v16 seems to be a gentle rebuke to Reuben, giving understanding (great searchings of heart) but also an exhortation (why did you sit still among the sheepfolds).
It’s important to note that these are elements of communication that are expressed by Paul and others in the new testament.
In 2 Timothy 1 v5 (and lots more places) Paul gives Timothy encouragement of the sincere faith (covenant through his mum and grandma).
Really, it’s not hard to think and come up with passages in the new testament that reflect both encouragement and also rebuke.
And here we have it in song from Deborah back in Judges.
Praise God for His word in it’s fullness and entirety!