Surah Yusuf 12:9
ٱقْتُلُوا۟ يُوسُفَ أَوِ ٱطْرَحُوهُ أَرْضًا يَخْلُ لَكُمْ وَجْهُ أَبِيكُمْ وَتَكُونُوا۟ مِنۢ بَعْدِهِۦ قَوْمًا صَـٰلِحِينَ
Kill Joseph or cast him out to [another] land; the countenance [i.e., attention] of your father will [then] be only for you, and you will be after that a righteous people."
Translation: Saheeh International
Tafsir
Kill Joseph or cast him away into some land that is into some distant land so that your father might be solely concerned with you so that he might turn his attention to you and not be distracted by anyone else and that thereafter that is after killing Joseph or casting him away you might be a righteous folk’ by …
Excerpt from Tafsir al-Jalalayn, commentary on 12:9, via Quran.com. The reader has the full commentary and 9 more tafsirs.