Matthew 28:20 - "I will be with you always, even until the end of the world."
So, according to your reasoning, Jesus won't be with us (or with the apostles) after the end of the world.
Or maybe, is it possible that your understanding could be wrong and that Jesus will be with us even after the end of the world? And that maybe your interpretation is wrong about Matthew 1:25 as well?
It means exactly what it says: Jesus Christ will be with us until the end of the world. He will guide us and intercede on our behalf until the Dread Judgment.
God loves everyone and wants all men to be saved, so He will continue to pour out His blesssngs on the "pious and impious." He will continue to be with us even when we can't see Him walking among us.
After the end of the world, He will not be with some, possibly many. But until that time, He will give everyone, even to the last breath, a chance to repent and, like the thief on the cross, enter His Kingdom.