Joseph acted wisely in this regard. When the wife of his master, Potiphar, tried to seduce him, Joseph rejected her efforts. But she did not give up.
غَيْرَ أَنَّهَا لَمْ تَسْتَسْلِمْ ،‏ بَلْ بَقِيَتْ تُكَلِّمُهُ يَوْمًا فَيَوْمًا لِيَكُونَ مَعَهَا .‏