used to express a wish that something was different or that something had happened differently
If only I had studied harder, I would have passed the exam.
내가 더 열심히 공부했더라면 시험에 합격했을 텐데.