This might seem surprising, but it's true! The word "good" comes from the Proto-Germanic word "gōþ", which is related to the Old English word "god" meaning "good".
Interestingly, the word "god" (referring to a deity) also comes from this same root.
This shared origin reflects the ancient concept of "good" being associated with divine power and favor.