self-restraint
🇺🇸
/ˌself rɪˈstreɪnt/
🇬🇧
/ˌself rɪˈstreɪnt/
control over your own actions, especially when you want to do something but choose not to
It took a lot of self-restraint not to scream at the referee during the game.