Rare death as infidels

A man came to Umar ibn al-Khattab, may God be pleased with him, and he said, “I saw in a dream as if I was fertile and then begotten.” Umar, may God be pleased with him, said to him that you believe then you disbelieve, then you believe, then you disbelieve, then you die as an unbeliever. Peace