The story
Constructed as a secular alternative to thank God, with the intent of emphasizing that modern conveniences are the product of human sciences such as engineering, medicine, etc., rather than divine action.
Etymology from Wiktionary, CC BY-SA 4.0.