Only genuine believers do persevere. Who said the Galatians did not continue? That is your biased conclusion. Getting temporarily side tracked by legalistic teachers does not mean they did not ultimately continue. "You who are trying to be justified by the law have fallen away from grace," but had they fully come to that place yet? Galatians 3:3 reads: Are you so foolish? Having begun in the Spirit, are you now being made perfect by the flesh? The middle voice implies "making yourselves perfect" by means of self effort. The present tense indicates that the action is in progress and that there is still time to correct the error. If these Galatians lost their salvation and it was a done deal, then why didn't Paul simply say you "lost your salvation" and I'm done with you? Instead, in verse 10, he said - I have confidence in you, in the Lord, that you will have no other mind; but he who troubles you shall bear his judgment, whoever he is.You made that jump by insisting that only true believers persevere. The saved Galatians must not have been true disciples (though Paul says they were) because they did not "continue in My word".
The apostle Peter denied Christ 3 times and all the remaining 11 disciples (after Judas betrayed Jesus) were said to "fall away" (Matthew 26:31-35) when Jesus was arrested. According to your logic, they did not continue and lost their salvation, but that was not the case. Later in Galatians 2:11-15, we read that Paul had to rebuke Peter because he was not being straightforward about the truth of the gospel. When certain men came from James, he would eat with the Gentiles; but when they came, he withdrew and separated himself, fearing those who were of the circumcision. 13 And the rest of the Jews also played the hypocrite with him, so that even Barnabas was carried away with their hypocrisy. According to your logic, where did that leave Peter? You need to stop jumping to biased conclusions.