Yes, you do have to complete the Buried Relic in order to pass that part of the game. It's a required step rather than an optional side task.
So if you're trying to progress, tackling the Buried Relic is the way forward.