You’re absolutely right because if you go by the Bible the stars weren’t created until the fourth day and there were three more day before that so God’s days must’ve been counting something else.
A day has a varied ‘translation’ in hebrew. Hermeneutics is often Rorschacian speculation.