That's not the topic. He clearly mentioned his passport is about to expire and he is waiting for the new one. And you recommended that he should tell the customs at the immigration that he lost his old one or it was stolen. So, again, why lying?
When your old passport expires and you get a new one, it is absolutely no problem in any country. The guy who asked the question clearly mentioned that his passport expires soon and he will get a new one soon. So, why lying?
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.