In the movie Antz, a modified version of this rhyme was uses as marching tune by the ants' army:

We ants go marching one by one,
Hurrah! Hurrah!
We slaughter termites just for fun,
Hurrah! Hurrah!
.
.
.
We ants go marching two by two,
Hurrah! Hurrah!
We'll all be dead before we're through,
Hurrah! Hurrah!
.
.
.
We ants go marching three by three,
Hurrah! Hurrah!
We're off to see our destiny,
Hurrah! Hurrah!