Destroy one object from multiple with same tag

All enemies has the same tag “Enemy”. When I try to destroy one of them, the another is destroyed.

Target Script: `public void TakeDamage(float amount)
{
health -= amount;
if (health <= 0)
{
Die();
}
}

private void Die()
{
    Destroy(gameObject);
}

Bullet Script:if (collision.gameObject.tag == “Enemy”)
{
Target target = GameObject.FindWithTag(“Enemy”).GetComponent();
target.TakeDamage(10);
Destroy(this.gameObject);
}`

if (collision.gameObject.tag == “Enemy”)
{
Target target = GameObject.FindWithTag(“Enemy”).GetComponent();
target.TakeDamage(10);
Destroy(this.gameObject);
}

FindWithTag finds an object with the tag, but not a specific one.

In this case you already have the gameObject you care about as part of the collision:

Target target = collision.gameObject.GetComponent<Target>();