The solution in the legend of the bitter gourd is that Ampalaya (bitter gourd) learns a lesson about envy and selfishness. After stealing the colors and beauty of other vegetables, Ampalaya was punished when those vegetables took back their qualities. This caused Ampalaya to have a bitter taste and wrinkled skin because of the fighting inside it. The story teaches us to value forgiveness and to understand that bitterness can be a result of our wrong actions.