Luke 2:20

20 The shepherds returned, glorifying and praising God for all the things they had heard and seen, which were just as they had been told.

Read Luke 2:20 Using Other Translations

And the shepherds returned, glorifying and praising God for all the things that they had heard and seen, as it was told unto them.
And the shepherds returned, glorifying and praising God for all they had heard and seen, as it had been told them.
The shepherds went back to their flocks, glorifying and praising God for all they had heard and seen. It was just as the angel had told them.