It indicates that the dreamer will get rid of all the troubles and problems he has experienced, regret the bad and cruel things he has done, repent and choose the right path, turn to Allah with all his heart, and thus meet very good events and people in the worldly life.
The person who sees that he vomits and then cleans it in his dream means that he will purify his soul from all evil and filth, will give up following his nafs, and will fulfill the requirements of the sunnah in order to become one of the good servants of Allah.