Meaning of “scarcely” - Learner’s Dictionary

scarcely

adverb uk us /ˈskeəsli/

only just:

They had scarcely finished eating when the doorbell rang.
can scarcely do sth

If you say you can scarcely do something, you mean it would be wrong to do it:

He's only two - you can scarcely blame him for behaving badly.

(Definition of “scarcely” from the Cambridge Learner’s Dictionary © Cambridge University Press)