What if the religious dogma disagrees with scientific knowledge (confirmed by experiment)?

There are two options.

1. The religious rule concerning rituals cannot contradict scientific knowledge of the physical world. Since the rituals are performed here;

2. The religious postulate concerns the spiritual world. That area, which scientific knowledge does not concern. That is, there is no possibility of contradiction.

****

Earth history example:

Rabbi Isaac from Acre (13-14 century) states that the universe is actually 15,340,500,000 years old. Isaac arrived at this conclusion by distinguishing between earthly "solar years" and "divine years," based on a verse from Psalms, which states that "A thousand years in Your sight are but as yesterday" (Psalm 90:4). If each day of a divine year is equal to a thousand earthly "solar years," then a divine year would be 365,250 years long. Isaac then makes some other calculations based on the Talmud and the Biblical sabbatical year, and arrives at the said number. The scientific estimation places the occurrence of the Big Bang at 13.799 ± 0.021 billion years ago.