why my code Doesn't work (C#) ?

i create sprite rendere and i want to Destroy it when click == 2
so what is wrong here !

public   SpriteRenderer Select_Cirlce;

void Update()
    {



        if (Input.GetMouseButtonDown(0))
        {

            RaycastHit hit;
            Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
            if (Physics.Raycast(ray, out hit, 1000.000f))
            {
                Click++;
                if (hit.collider.tag == "Mosad" && mosad == false)
                {
                    print("Hit Mosad");
                    mosad = true;
                    Instantiate(Select_Cirlce, hit.point, Quaternion.identity);


               }


if (Click == 2)
        {
            print("2");
            Destroy(Select_Cirlce.transform.gameObject);
          //  Select_Cirlce.enabled = false;
          
        }
}

Is it registering the first click properly? I assume Click is set to 0 to start?

Also make sure to reset Click back to zero after 2 clicks if you want to detect another 2 clicks.

in the console it is printing 2
that is mean it must work !

that is error come to the console
2729657--194027--error.png

You are trying to destroy the referenced object. You want to destroy the instantiated one. If that worked the way you have it now it would destroy the one in the project. Create a reference to the one you are instantiating and destroy that one instead.

zombie is correct, you need to destroy the new object not the reference.
Try:

GameObject something = (GameObject)Instantiate(//whatever);

Then call:

Destroy(something);