How to stop instantiating at 0,0,0

I’m very new to this, and have quite a few issues that seem to work for everyone except me, which is frustrating. Currently I can’t for the life of me figure out why this code always instantiates at 0,0,0

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GoalSpawn : MonoBehaviour
{
    public GameObject goal;
    Vector3 initGoalPos = new Vector3(-3.5f, -7.0f, 0f);

    void Start()
    {
        goal = Instantiate(goal, initGoalPos, transform.rotation);
    }
}

Update: The problem was with another script that wasn’t working as intended. The goal was being moved to 0,0,0 every update frame.