Roger was like a father to him. And he decided he didn't need the one piece, yeah. But he was also told something from Roger. He might have known that it wouldn't do any good looking for it until the one Roger was waiting for was born. Which he saw in Luffy. I have no doubt Shanks may be using Luffy in that way, but he's selfish, doesnt mean he's evil and doesn't care about him.