The practice of shunning is known by Jehovah's Witnesses.
They have been criticized for it.
However, what do the most High and His messiah, Yashiya the Christ have to say about this?
Here it is important to know that when you are devoted to Christ and the most High, They will transform your life and you will bring contrast.
Christ is clear, if you want to follow him, you need to love him more than anything, or anyone else and you need to be prepared to leave everything for following him.
If you want to follow Christ you are transformed by him and don't want to be discouraged all the time by people who want to hold on to darkness. Also you don't want your time to be wasted by them. You have to spread the light of the gospel of the kingdom of God, which means that you want to help people in preparing for it. You don't want to be surrounded by people who promote darkness and try to find ways to hide themselves from the light.
Here is a list with some Bible verses on shunning.
https://www.openbible.info/labs/cross-references/search?q=2+Corinthians+6%3A14...
https://www.youtube.com/watch?v=MSVA9lVAUdA