A person added his name to my articles
Now I want to publish the articles as chapters of a tiny textbook I am writing, but I think he doesn't deserve his name to be mentioned in any way in this work. Is there any way I could achieve this?


Pretty sure the answer here is no.

First, your textbook needs to cite its references, so in the Bibliography, you would need to list the paper where he declared himself the first author.

That being said, you will probably chose some citing format for your textbook such as "According to [3]", rather than "According to DUDESNAME, 2008".

If your book is written in first person speech (which I dislike, but is your option), you can still claim "Back in 2007 I've done A and and B, as explained in [3]". Your former advisor will likely not dispute those claims with you, but you would probably gain very little from this passive agressive strategy.

Moreover, having your advisor who contributed very little as a co-author is very common. Although he usually would have contributed in other ways, such as providing equipment, references and guidance, which may not look like a lot of hard work, but it does take a lot of hard work to have the knowledge and resources to do this properly. Also, the co-author status is part of his reward for advising you. He making himself the first author sounds pretty unethical though.