“Ugly” can indicate a mean streak, sadistic nature, vanity or pride, or other negatives that are strong and hurtful.
Usually a person who is totally enamored with him or herself will become mean and spiteful if things do not go their way. That is their character showing through in their words and actions.
It does not have to stay this way. “Ugliness” makes the owner’s life somewhat miserable too. We can overcome ugliness on the inside by replacing it with beauty. How we focus our thoughts can change our character. God expects a person to fight the ugliness within. The Bible tells us to stir up love and good works, and choose the new and living way (Hebrews 10:20-24 Hebrews 10:20-24  By a new and living way, which he has consecrated for us, through the veil, that is to say, his flesh;
 And having an high priest over the house of God;
 Let us draw near with a true heart in full assurance of faith, having our hearts sprinkled from an evil conscience, and our bodies washed with pure water.
 Let us hold fast the profession of our faith without wavering; (for he is faithful that promised;)
 And let us consider one another to provoke to love and to good works:
American King James Version×). Feeding our minds good and wholesome thoughts leads to health in our character. He gave healthy direction to the church in Philippi—to think and meditate on true, noble, just and pure things and peace will come (Philippians 4:8-9 Philippians 4:8-9  Finally, brothers, whatever things are true, whatever things are honest, whatever things are just, whatever things are pure, whatever things are lovely, whatever things are of good report; if there be any virtue, and if there be any praise, think on these things.  Those things, which you have both learned, and received, and heard, and seen in me, do: and the God of peace shall be with you.
American King James Version×). This diet needs to be daily and consistent.