What’s happening in this part of this poem ?

To walk together to the Kirk and all together pray While each to his great Father bends Old men and babes and loving friends and youths and maidens gay!

everyone is walking to a Scottish church (meaning  of  Kirk) there all going to pray then the rest means that many people or giving and accepting peace and youths and maidens gay means that youths and maidens are happy going to church.

This mean that they’re are in scotland.