Correct

乐极生悲

/ lè jí shēng bēi / 
Strokes

Definition

extreme joy turns to sorrow (idiom); Don't celebrate too soon, things could still go wrong!

Example

Definition

extreme joy begets sorrows; extreme pleasure ends in sorrow; pleasure has its sting in its tail; when the cup of happiness overflows, disaster follows; joy at its height engenders sorrow

1
Lèjíshēngbēi
乐极生悲
  
,
fǒujítàilái
否极泰来
  
。

When joy reaches its height, it is sorrow's turn; when ill luck reaches its limit, good luck comes in.