They tried to join NATO and they didn’t let them. There was a real threat and they chose not to deter it.
Finland wasn’t under any threat and was allowed to join, around the same time. The country that actually had a known threat wasn’t allowed to join. So they clearly haven’t deterred anything.