means that
only a foolish or ill-intentioned person would bring harm or dishonor to their own home, family, or close community.
When only a foolish or ill-intentioned person would bring harm or dishonor to their own home, family, or close community., the saying “It is an ill bird that fouls its own nest” is appropriate.