Hi, you always need to give the full context of any phrase. This phrase is from Shakespeare
What does the quote mean, " As flies to wanton boys are we to the gods; they kill us for their sport?"
Naughty boys ("wanton boys") kill "flies" for "sport" (meaning for fun). Therefore this quote is saying that gods kill people for fun, because to them we are like the bugs are to the boys.