It means that the drums will follow the rhythm of the man dancing, to accentuate his dance. It can also mean that as a man follows a path, things occur along the way which helps or leads the man further along the path.
It comes from Henry David Thoreau's quote about marching to the beat of a different drum.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let...