“When we've been there 10,000 years bright shining as the sun ...” Who gave us this verse of "Amazing Grace"?

Culture Trivia Question: “When we've been there 10,000 years  bright shining as the sun ...”  Who gave us this verse of "Amazing Grace"?