Uncertain origin. There's an 1899 hymn called "No Night There (In the Land of Fadeless Day)" by John R. Clement that has some base similarities (incl. the lyrics "A City Four Square"), but the lyrics differ considerably. There is an African-American gospel song called "City Built Four Square" that is unrelated.
I am going to that city where the lights are hanging high I am going to where no troubles can come Will you meet me there my father in the city that lies four square And we'll all live together over there
I can see the pearly gates open, I can see my Saviour's hand I can hear his tender voice calling come Come up here my little children to the city that lies four square And we'll all live together over there
I am going to that city where the lights are hanging high I am going where no troubles can come Will you meet me there my mother in the city that lies four square And we'll all live together over there
I am going to the city where the lights are hanging high I am going where no troubles can come Will you meet me there my children in the city that lies four square And we'll all live together over there
I am going to that city where the lights are hanging high I am going where no troubles can come Will you meet me there my Saviour, in the city that lies four square And we'll all live together over there