What happens if someone doesn’t perform ghusl e haiz and thinks its not important because they don’t do namaz anyway,so what’s a point

They remain impure and unable to perform the acts of worship such as entering a mosque, prayers or tawaf. If they do these things without ghusl, it’s invalid