First, it’s helpful to know the history of the Pledge of Allegiance. The Pledge didn’t originate as a government document and didn’t come from the founding fathers. It was basically an idea used to sell magazine subscriptions.
https://www.relevantmagazine.com/faith/would-jesus-stand-and-recite-the-pledge-of-allegiance/