《汉书·志·郊祀志上》
黄帝一面作战一面学仙术，担心百姓指责他的行为，就斩了那些非议鬼神的人。
黄帝且战且学仙，患百姓非其首，乃断斩非鬼神者。
The Yellow Emperor learned immortal arts while fighting, and worried that the people would accuse him of his actions, so he cut off those who slandered gods and ghosts.
<s>[INST] 请将下面的文言文翻译成英语: 黄帝且战且学仙，患百姓非其首，乃断斩非鬼神者。 [/INST] The Yellow Emperor learned immortal arts while fighting, and worried that the people would accuse him of his actions, so he cut off those who slandered gods and ghosts.</s>
请将下面的文言文翻译成英语: 黄帝且战且学仙，患百姓非其首，乃断斩非鬼神者。
user
The Yellow Emperor learned immortal arts while fighting, and worried that the people would accuse him of his actions, so he cut off those who slandered gods and ghosts.
assistant