Space and time are not things out there. They are the forms of your seeing, the frame every sight and feeling must fit. That is why geometry felt certain in advance. Non-Euclidean geometry and Einstein’s 1915 relativity showed physical space need not be Euclidean, so that claim has not held.
From Critique of Pure Reason by Immanuel Kant