Hello Hayyan Asim,
Welcome to Microsoft Q&A forum.
Before we proceed, may I know the full error message so I can check for you? Please remember to remove all personal information before posting.
Also, Microsoft subscription is heavily region-locked, so mismatch between the region of your account, the PC or the card could also cause this. Please make sure all of them match as well. In short, you probably cannot use a Pakistan card for this.
I'm waiting for your reply.