Flags normally influenced songs
https://daltonhmgr084.terracolumn.com/posts/a-closer-look-at-historic-civil-war-flags-what-they-represent
Flags in the main impressed songs and poetry all through the Civil War era; they became potent emblems that fueled creative expression regarding patriotism and valor.