For the most part it is true but it also depends on how close your spouse is to his/her family--which can be a red flag if they are difficult.
I did experience it. My mother-in-law has never liked me for no particular reason. When younger i tried very hard to get her to like me to the extent of not truly being myself when I was around her. My husband has had problems with his mother all of his life so it wasn't a surprise for her to not like me, it was expected.
We have always lived a great distance from them so while it hurts not to be liked, it wasn't really a hardship for us as we rarely saw them. And my husband was always very protective of me whenever we were around them.