Language:
Free Online Dictionary|3Dict

种瓜得瓜,种豆得豆

Source : CEDICT

lit. Sow melon and you get melon, sow beans and you get beans (idiom); fig. As you sow, so shall you reap./One must live with the consequences of one's actions./You've made your bed, now must lie on it.