Correct

当饭吃

/ dāng fàn chī / 
Strokes
https://i.cchatty2.com/filters:format(webp)/fit-in/684x0/img/202102/当饭吃-Chinese-idioms-Cchatty-423c84b3-ff39-4c8e-884b-0c69cccf9acd-1612777052.jpg

Collocation

1
不要把赌博当饭吃
2
游戏不能当饭吃
3
补药不可当饭吃
4
零食当不了饭吃

Definition

当饭吃

Literally means:

take snacks for meals

Actually means:

饭 refers to the three meals of a day, which can also be a metaphor for means of making a living.

The phrase literally means taking snacks for meals, and it figuratively means regarding something irrelevant to one's occupation as the source of livelihood or taking a secondary matter as something important. It often connotes criticism.

饭,这里指一天三顿所吃的正餐,也比喻谋生的手段。

当饭吃,指把零食作为正餐吃。也比喻把与职业无关的事情作为维持生活的经济来源,或把次要的事情当成重要的事情。多含有批评的意味。

Example

Used as predicate or object, and it can have other words in between. (作谓语、宾语,中间可插入别的词语)
1
Zhèxiē
这些
háizi
孩子
zǒngshì
总是
bǎ
把
xiūxián
休闲
shípǐn
食品
dāng
当
fàn
饭
chī
吃
  
,
yǐzhì
以致
gègè
个个
dōu
都
yíngyǎng
营养
bùliáng
不良
  
。

These children always eat casual food as a meal, so that they are all malnourished.

2
Nǐmen
你们
bùyào
不要
bǎ
把
shíjiān
时间
huā
花
zài
在
kàn
看
nàxiē
那些
wúliáo
无聊
de
的
xiǎoshuō
小说
shàng
上
  
,
zhèxiē
这些
dōngxī
东西
dāng
当
bù
不
le
了
fàn
饭
chī
吃
  
。

Don't spend your time reading boring novels that can't be eaten as food.

3
Yǒuxiē
有些
rén
人
yǐwéi
以为
dǔbó
赌博
kěyǐ
可以
dāng
当
fàn
饭
chī
吃
  
,
jìngrán
竟然
bù
不
gōngzuò
工作
ér
而
zhěngtiān
整天
dǔbó
赌博
  
,
zhè
这
shízài
实在
shì
是
yī
一
zhǒng
种
duòluò
堕落
  
。

Some people think that gambling can be eaten as a meal, even do not work and gamble all day, this is really a kind of depravity.