Thank God for the men that hurt you
You can separate the boys from the men now ‘cuz you see your virtue

from Nelly (Ft. Daley) – Heaven Lyrics on Rap Genius

Meaning

It was because of the bad men in her past that she was finally able to recognize a good man. She also learned her own value and that she deserves a good man.
Not this:

But this:

To help improve the meaning of these lyrics, visit “Heaven” by Nelly (Ft. Daley) Lyrics and leave a comment on the lyrics box