das geschieht dir recht.

listen to the pronunciation of das geschieht dir recht.
Немецкий Язык - Английский Язык
It serves you right