You harvest what you sow.

种瓜得瓜,种豆得豆。