Get (have) cold feet
Suddenly become (be) very nervous about doing something that you were going to do.
If you get cold feet, you become afraid to do something that you planned to do or agreed to do.
It's normal for young people to get cold feet before their wedding.
He agreed to go bungee jumping with his friends, but he got cold feet when they arrived at the jump.