That sounds like a classic game called "The Legend of Zelda: A Link to the Past"!
Here's why it fits your description:
It's a very popular game from the Super Nintendo era, so it's likely you played it when you were younger. If you're looking to reminisce, it's definitely worth revisiting!