Which Christmas song is thought to have been written for a Thanksgiving Sunday School Program?

Which Christmas song is thought to have been written for a Thanksgiving Sunday School Program?