Hi KDDAM, as you mentioned, the company lost a client that you were hired for. This could just be an alibi or could be true as well, and it will impact your team. If the former, the company may not really need you or your team, and they may want to terminate all of you. In a good way, though, so as to not have an effect on your CV/resume. If it is the latter, this means the company does not have enough funds to pay for you and your team because of the lost client.
Anyway, whatever the case may be, it's best to respect and accept it. Don't dwell on the work you will lose because even your company isn't thinking about that. Ask for settlements and an experience certificate, and start looking for a new job right away. If it helps, you may politely ask your HR to provide you with a few more months if you are eager to finish your work. Show good intentions that you don't want to leave the company by leaving incomplete work and that you want to leave everything in good shape.