You haven't reached the temple yet. This is the the shrine that marks the start of the route to the temple. Getting past this means you're not lost and definitely on the right road that leads to the temple (which could still involve a longer walk, some uphill steps, etc
(Using Japan as an inspiration, there are plenty of shrines that mark the land. Some are a simple small statue, often found along roads and crossings. Some also sit next to geographical features, a river or lake, or the start of a forest path, would have a shrine. Others are slightly bigger, a statue that sits on a dais or platform. The entrance to a place would have one, such as the entrance to a village or town. This one is slightly bigger than that, because it has its own small housing with roof. No other rooms, three walls, the front is open. And this one has a life-sized statue standing inside.