The Bible says that while in Babylon, Daniel “resolved in his heart that he would not defile himself ” with anything associated with false worship.
كَلَّا عَلَى ٱلْإِطْلَاقِ .‏ فَٱلْكِتَابُ ٱلْمُقَدَّسُ يُخْبِرُنَا أَنَّهُ ‏ « عَزَمَ فِي قَلْبِهِ أَلَّا يَتَنَجَّسَ » فِي بَابِلَ بِأَيِّ شَيْءٍ لَهُ عَلَاقَةٌ بِٱلْعِبَادَةِ ٱلْبَاطِلَةِ .‏