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)
قَالَ رَسُولُ اللهِ ﷺ مَثَلُ الْمُنَافِقِ كَمَثَلِ الشَّاةِ الْعَائِرَةِ بَيْنَ الْغَنَمَيْنِ تَعِيرُ إِلَى هَذِهِ مَرَّةً وَإِلَى هَذِهِ مَرَّةً لَا تَدْرِي أَهَذِهِ تَتْبَعُ أَمْ هَذِهِ