HSK 5 HSK V4
Correct

在于

/ zàiyú / 
Strokes

Definition

to be in/to lie in/to consist in/to depend on/to rest with

Example

As a Verb

lie in; consist in

1
Zhànzhēng
战争
de
的
mùdì
目的
zàiyú
在于
xiāomiè
消灭
zhànzhēng
战争
  
。

The aim of war is to eliminate war.

2
Xìngfú
幸福
zàiyú
在于
zhīzú
知足
  
。

Happiness consists in contentment.

As a Verb

depend on; rest with; be determined by

3
Qù
去
bù
不
qù
去
zàiyú
在于
nǐ
你
  
。

It's up to you to decide whether to go or not.