The Messenger of Allah [SAW] said: "The parable of the hypocrite is that of a sheep that hesitates between two flocks, sometimes following one, and sometimes following another, not knowing which to follow." (Using translation from Nasāʾī 5037)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِنَّ مَثَلَ الْمُنَافِقِ مَثَلُ الشَّاةِ الْعَائِرَةِ بَيْنَ الْغَنَمَيْنِ تَعِيرُ إِلَى هَذِهِ مَرَّةً وَإِلَى هَذِهِ مَرَّةً لَا تَدْرِي أَيَّهُمَا تَتْبَعُ