It is not that the righteous will not go through trials, it is that they will be delivered through/by them. NT writers consider these trial and tribulations as a edifying process of refinement.
2012 - pBiblx2 Field Wise Bible System Version 2.0.9d - GPL3