Interesting to hear of current discussions in Israel about who has a right to ascend the temple Mount. This very question was asked and answered long ago:
Who may ascend the hill of the LORD?
Who may stand in his holy place?
He who has clean hands and a pure heart,
who does not lift up his soul to an idol
or swear by what is false.
Of course there are many opinions – but we’d do well to note whose “opinion” this is:
The earth is the LORD’s, and everything in it,
the world, and all who live in it;
for he founded it upon the seas
and established it upon the waters.