expression
in every case; in everything; in all matters
Fixed expression meaning 'regardless of what it is' or 'in all things'. Used to state that something applies universally, without exception.
何事によらず、準備が大切だ。
In everything, preparation is important.
何事によらず、最初は難しいものだ。
No matter what it is, the beginning is always difficult.
Phrase composed of 何事 (everything, all matters) + に (particle) + よらず (negative continuative of よる, 'to depend on'), literally 'without depending on what matter'. The exact historical derivation is uncertain, but it follows a common pattern for 'regardless of' expressions.