Old English godnes "goodness, virtue, kindliness;" see good (adj.) + -ness. In exclamations from 1610s as a term of emphasis, first recorded in for goodnesse sake, i.e. "as you trust in the divine goodness" (i.e., God).[goodness etymology, goodness origin, 英语词源]