security blanket; comfort object
Refers to a blanket or soft object that a child uses for emotional comfort, especially when anxious or sleeping. Also used metaphorically for anything that provides psychological reassurance.
My daughter can't sleep without her security blanket.
For him, his smartphone is like a modern-day security blanket.