The interview was good. I got selected but after getting an offer letter within one month they revoked my offer letter saying that currently, we do not have a requirement.
I would suggest do not put your resignation based on this company. Do not believe after getting an offer letter that you are selected. It completely depends on them.
There is no job security. Always look for a better opportunity.