The commandment that those who feel hatred towards the demon king should follow is to seek understanding and compassion rather than succumbing to hatred and negativity. Hatred towards others, even the demon king, only leads to more suffering and conflict. Instead, practicing forgiveness, empathy, and understanding can help alleviate feelings of hatred and promote peace within oneself and towards others.