Fetching details from the dictionary...
what; what sort of thing
everything; anything
what (on earth)?; what's the meaning of this ...?; what's this ... all about?
何ごとにも真剣に取り組む姿勢が大事だ。
It's important to approach everything seriously.
彼女は何ごとも諦めない性格だ。
She has a personality that never gives up on anything.
何ごとか起きたようだが詳細は不明だ。
Something seems to have happened, but the details are unclear.