It is an ill bird that fouls its own nest. meaning

HOME PROVERBS

harm

It is an ill bird that fouls its own nest.

means that:
only a foolish or ill-intentioned person would bring harm or dishonor to their own home, family, or close community.