An apt English idiom in this context is: The pot calling the kettle "black."
The Dictionary.com entry tells us: Criticizing others for the very fault one possesses: “I wouldn't call him lazy if I were you, Andy; that would be the pot calling the kettle black.”
ell.stackexchange.com/users/37009/P. E. Dant Reinstate Monica
Throwing stones in a glass house or Live in a glass house One who is open to criticism should not criticize others, as in "It's stupid of Mike to mention his opponent's accepting donations from lobbyists — people who live in glass houses !"
This proverb is so well known that it is often shortened.
Source: Dictionary.com
(emphasis mine)
Criticizing other people for bad qualities in their character that you have yourself.
Source:
Cambridge Dictionary
Criticizing other people for having the same faults that you yourself have.
Source:
The Free Dictionary Complaining about others if we are as bad as they are.
Source: Dictionary.com
ell.stackexchange.com/users/26160/Revetahw says Reinstate Monica
Why do you look at the speck that is in your brother’s eye, but do not notice the log that is in your own eye?
Although this would indicate that the one who points out somebody else's weakness, not only has the same weakness, but has it with an even greater magnitude.
ell.stackexchange.com/users/404/vsz
The generic term for that is hypocrisy .
hypocrite (noun) - 1.
a person who pretends to have virtues, moral or religious beliefs, principles, etc., that he or she does not actually possess, especially a person whose actions belie stated beliefs.
It actually has a couple of definitions but this is used to term the person considered in practice.
If a person states weakness in others which he/she actually possess, then conversely he/she is giving a false impression of a strength that he/she does not possess.
ell.stackexchange.com/users/40915/Ébe Isaac
The Mote and the Beam
The Mote and the Beam (also called discourse on judgmentalism) is a proverbial saying of Jesus given in the Sermon on the Mount.[1] in the Gospel of Matthew, chapter 7, verses 1 to 5.
The discourse is fairly brief, and begins by warning his followers of the dangers of judging others, stating that they too would be judged by the same standard.
https://en.m.wikipedia.org/wiki/The_Mote_and_the_Beam
ell.stackexchange.com/users/None/
Is there a term or an idiom for something similar to pointing at somebody else's weakness when that person has the same weakness?
Term for making fun of somebody else's weakness when you have the same?
ell.stackexchange.com
<idiom-request>
ell.stackexchange.com/questions/101902
ell.stackexchange.com/users/36634/Amy Cohen
An apt English idiom in this context is:  The pot calling the kettle "black."  "Throwing stones in a glass house" is another saying in this context, as well as "Why do you look at the speck that is in your brother’s eye, but do not notice the log that is in your own eye?". The Mote and the Beam is a bible entry on this kind of subject. However, a generic term may be "hypocrisy". The pot calling the kettle "black."' is an appropriate English idiom, as well as "Throwing stones in a glass house" or "Live in a glass house" and "Why do you look at the speck that is in your brother’s eye, but do not notice the log that is in your own eye?". A more general but usual term is "hypocrisy". Finally, there is also a Christian parable called "The Mote and the Beam" that refers to this concept.
The pot calling the kettle "black."' is an appropriate English idiom. "Throwing stones in a glass house" or "Live in a glass house" is an idiom that works in this context. "Why do you look at the speck that is in your brother’s eye, but do not notice the log that is in your own eye?" is a similar idiom. A usual term for that is "hypocrisy" There is a Christian parable called "The Mote and the Beam" that refers to this concept.