捡到篮里就是菜

jiǎn dào lán lǐ jiù shì cài

all is grist that comes to the mill (idiom)

jiǎn

to pick up; to collect; to gather

dào

to reach; to arrive

lán

basket (receptacle)

li, ancient measure of length, approx. 500 m

jiù

(after a suppositional clause) in that case; then

shì

to be (followed by substantives only)

cài

vegetable; greens (CL:棵[ke1])