They will forget their shame and all the unfaithfulness they showed toward me when they lived in safety in their land with no one to make them afraid.
NIV
They shall forget their shame and self-reproach and all their treachery and unfaithfulness in which they have transgressed against Me, when they dwell securely in their land and there is none who makes them afraid.
AMP
After that they have borne their shame, and all their trespasses whereby they have trespassed against me, when they dwelt safely in their land, and none made them afraid.
KJV