The author - may Allah shower blessings on him - placed these two chapters in the Book of Dressing: the chapter on the Desirability of Avoiding Lofty Dresses Out of Humility to Allah - Honored and Glorious is He -, and the second concerns Moderation in Dressing.
As for the first, it is reported on the authority of Mu'adh bin Anas - may Allah be pleased with him - the Prophet ﷺ said: "Whoever abandons dressing," that is, "beautifully good dressing out of humility to Allah the Mighty, while he can afford it, Allah will invite him on the Day of Resurrection above all creatures until he is given the choice from whichever of the adornments of faith he prefers to wear."
This means that, when a man is amongst the middle class, who cannot afford lofty dresses, and he is humble, wearing the like of the garments they wear, not to break their hearts and scorn them, then he will earn this great reward. However, when he is amongst a people Allah has showered His blessings upon, and they wear lofty garments which are not haram (forbidden), it is preferred that he dresses like them because Allah is Beautiful and He loves beauty.
Undoubtedly, when one is amongst the high class, who dress handsomely while he dresses less than their standard, then this is considered dressing for fame. One should observe to see what the condition demands, if avoiding expensive dress implies modesty towards Allah and being balanced when compared to those around him amongst people, then indeed, he gets this great reward. But when he is among people Allah has enriched, who wear lofty dresses, he should dress as they do.
Then, the author - may Allah shower blessings on him - mentioned moderation in the matters of dressing; that one should be moderate in all his affairs: in his dressing, his feeding, his drinking, but he should not deny the favors (of Allah), because Allah loves to see the signs of His favors on His slaves. When He has bestowed a favor on His slave,
He loves to see the signs of this favor on him.
If it (the favor) is wealth, He, Glorified and Exalted, loves to see the signs of this wealth on whomever He has blessed with it, regarding spending in charity, contributing to kind gestures, wearing beautiful clothes that befit him and so on.
When Allah bestows on His slave knowledge, He loves to see the traces of this favor on him with regards to acting based on this knowledge in his worship and good interaction with people, spreading the Da'wah, and teaching people and so on.
Whenever Allah bestows upon you any favor, let Allah, the most High, see the signs of this favor on you, for this is a sign of gratitude for the blessing.
As for the one Allah has given wealth, and acts like the one who is not so favored; he appears to people in tattered clothes as if he is the poorest of the servants of Allah, such a person in the true sense has denied Allah's favor on him. How will Allah bestow wealth and goodness upon you, and then you appear to people in clothes like those of the pauper or even worse. Similarly, Allah bestows on you wealth and then you withhold it and do not spend it, neither on what Allah has made obligatory upon you nor on what He recommended to you to spend upon. Allah bestows upon you knowledge and no sign of this knowledge is perceivable on you; not by any increased acts of worship or humility or good dealings, nor by teaching the people and spreading knowledge.
All of these are ways of hiding the favor Allah has bestowed on his slave. It is necessary for the individual that whenever Allah bestows on him favors, he should manifest the signs of that favor, so that he does not become a person who denies Allah's favors.
Allah alone grants success.