It was narrated from 'Aishah that the Prophetﷺ looked at a man who was chasing a bird and said: "A devil chasing a devil".
The Prophet's comment about devils can also be interpreted as an analogy for how people can sometimes act when they are driven by their desires instead of their faith in Allah. When someone gives into their desires without considering the consequences or thinking about whether it is right or wrong according to Islamic teachings, they may end up doing something harmful or destructive - just like how two devils would fight each other if they were both trying to get what they wanted without any thought for anyone else's wellbeing.