whenever
This expression indicates that no matter the case, the speaker feels a certain way about it.
Examples
うれしいにつけ悲しいにつけ、彼女のことを思い出す。
Whenever I am happy or sad, I think of her.
成功につけ失敗につけ、経験が大事だ。
Whether in success or failure, experience is important.
今につけ未来につけ、健康が一番だ。
Both now and in the future, health is the most important.
Quick check
うれしい___悲しい___、彼女のことを思い出す。