This chengyu comes from a People’s Daily article about the Belt and Road Initiative in light of Xi Jinping’s recent visit to Greece.
Meaning
Sow melon and you get melon, sow beans and you get beans; fig. As you sow, so shall you reap. / One must live with the consequences of one’s actions. / You’ve made your bed, now you must lie on it.
Original
“习近平主席曾用“种瓜得瓜,种豆得豆”,形容外交舞台上的因和果。此刻,到了希腊的比雷埃夫斯港,让人不由得想起了他的这句话。”
Source
http://paper.people.com.cn/rmrb/html/2019-11/13/nw.D110000renmrb_20191113_5-01.htm