How to set a text display from its self?

execute as @e[tag=cost.text] run data modify entity @s text set string entity @s text I want to set all text displays with THAT tag and have it update istelf the score.
Continue to help post