Did I do the right thing?

One year I think it was 2019 I when to see an old friend of mine but he kept trying to get me to go inside his house, his friend was in his house and sure I know him but haven't talked or seem him in years. I asked him if he was in the house and he said no but he wanna me to go in even tho he lied. Did I do the right thing and no go in? Why would he lie like that? What was he thinking?

2017-04-11T00:37:33.809Z