Correct

聊以自慰

/ liáo yǐ zìwèi / 
Strokes

Definition

to find some consolation (idiom)/to find relief in

Example

Definition

just to console oneself

1
Líng
令
tā
他
liáoyǐzìwèi
聊以自慰
de
的
shì
是
  
,
érzi
儿子
kǎoshàng
考上
le
了
dàxué
大学
  
。

He consoled himself with the thought that his son was admitted into college.