Help with text

I am trying to reference a Text game object(not text mesh pro) in my script but it returns this error:
Error CS0246: The type or namespace name ‘Text’ could not be found (are you missing a using directive or an assembly reference?) (CS0246)
I am using Unity 2019.2.7f2. Here is my code:

using UnityEngine;

public class GameManager : MonoBehaviour
{
public Text MyText;

}

using UnityEngine.UI;

EDIT: If using Visual Studio you can press alt+enter which will bring up suggested fixes, including things such as missing namespaces