Yes the NT says that, but the prophecy said nothing about Bethlehem. It says Nazareth. If it all...
This reference says theres nothing in the OT predicting the Messiahs birthplace.

https://en.wikipedia.org/wiki/Matthew_2:23