뿌린 대로 거둔다
The consequences you experience are the direct result of your own actions
He never studied and failed the exam — you reap what you sow.
The company invested in its employees for years, and now has the best retention rate; you reap what you sow.