I pledge allegiance to the flag
of the United States of America
and to the REPUBLIC for which it stands
one nation, indivisible
with liberty and justice for all.
Oh, look, we never lived in a 'democracy', It's always been a REPUBLIC.
I guess your liberally biased high school history teacher got it wrong.
BTW, 'under God' wasn't added until the 1950's