If this was a AITA post, the answer is yes. You don’t actually like him but are just texting him because he will layan you (in a few weeks or months when he comes back). You are just seeking attention. Delete his contact and saved chat history and just move on and find someone else.
Dating is basically two things.
You’ve said it yourself.
Essentially if you wanna date you gotta have a positive mindset about it. Else the relationship is already facing an uphill battle and will likely fail.