create text in game object position

i want to ask how to create text in game object position? i have a cube , and i want to add text above the cube.
i have using GUI Text but it’s position didnt same as game object :frowning:

Use it to get XY screen pixel position of the cube Unity - Scripting API: Camera.WorldToScreenPoint