Renewing after 5 years will presumably get you whatever rate is then? Which might be much higher.
It's always better to get a fixed rate (for the life of the loan) mortgage. If rates go up, you're protected. If rates go down, you can refinance to cheaper rates.
There is no gamble, that's why it is almost a free lunch. If rates keep going down as last ~10 years, you're never locked in, you keep refinancing to a lower and lower rate. If rates go up, you stay put with a fixed rate that can't ever go up. You win both ways.
In the USA there is no penalty to pay off a loan and refinance (there might be exceptions but never seen one) so you can do it at any time as frequently as you like and keep ratcheting the rates down.
There's also not such a huge difference. Looking at zillow today, 30-year fixed shows 4.95% and a 7-year adjustable at 4.81%