The Israelites were getting tired of eating nothing but bread from heaven, so they asked for some meat. Moses didn’t know where to get meat, even though God had already given them meat when they had asked before. So Moses asked God to kill him.
But God promised he would give the people meat to eat until they got tired of that, too. So he flooded them with trillions of quail from the sea. The mere millions of Israelites went out and gathered up the three-foot-high pile of quail that covered their camp. And then they put them back all over the camp, since there was nowhere else to put them.
The moral of the story
If you want something, don’t ask God for it, or he will kill you.