Punished for Being in a Haram Relationship

I used to be in a haram relationship but repented. I heard that because I had such past, my marriage in the future won’t be good. Is this true?