であれ

be, whether ... or, regardless of

→ だ
auxiliary · formal Rare #32,311
be Used in emphatic or formal commands and exhortations.
JA: どんなときも冷静であれ。
EN: Stay calm at all times.
whether ... or, regardless of Used after a question word or noun in a formal expression meaning that the outcome does not matter.
JA: どちらであれ、私は賛成です。
EN: Whichever it is, I agree.
Conjugation of だ

他人には親切であれ。

Be kind to others.

自分の国に忠誠であれ!

Be loyal to your country!

— ラスト、コーション (2007)

そしてそれがどちらであれ

And whichever it is.

— イノセンス (2004)

父は私にいつも勇敢で快活であれと言いました。

My father always told me to be brave and cheerful.

たとえ天候がどうであれ、私は行きます。

No matter what the weather is like, I’m going.

より柔軟であれ。

Be more flexible.