The Turkish parliament's positive vote to ratify Finland's membership will help strengthen the alliance and make it safer. While the accession of Sweden would also be a welcome move, NATO isn't there yet. Erdoğan's hard line against Sweden has broad support within Turkey, but perhaps things will change after its upcoming election.
By refusing to accept Sweden into NATO, Erdoğan looks more and more like an opportunist than the leader of one of NATO's most important members, pushing his own domestic agenda rather than that of the alliance. By simply asking too much of Sweden, he endangers the whole bloc.