Surah An-Naml

27:43

وَصَدَّهَا مَا كَانَت تَّعْبُدُ مِن دُونِ ٱللَّهِ ۖ إِنَّهَا كَانَتْ مِن قَوْمٍۢ كَٰفِرِينَ

And that which she was worshipping other than Allah had averted her [from submission to Him]. Indeed, she was from a disbelieving people."

Tafsir 27:43

And she was turned away from the Oneness of Allah by what she used to worship besides Allah, in following her people and blindly imitating them. She was amongst the people who disbelieve in Allah, so she was a disbeliever like them.