First of all, you should know that everyone has troubles. They are not as happy as they seem, and sometimes they may just show their happiest side to make you feel that your situation is more sad than theirs. People can't always be smooth sailing. Some people think I can make up for it by working hard. Really, if I work hard, I can live a happy life like them? I don't think we should have this mentality.
As long as there is a comparison mentality, it is doomed to be unbalanced. Once out of balance, it will fall into an infinite loop. I think life is a sea of people, and others live better than you. There is nothing wrong with you drinking a lottery ticket and clapping for others. Others are not as good as you, and you don't have to show too much superiority. It is not easy for everyone. The worse luck now, the better another time. Maybe one day you will surpass him. So the sense of gap is normal, or you need to adjust yourself.
Sometimes some of your bad ideas will only make your ideas fall into an endless loop, or you should be patient and slowly ease this idea, and then everything will be calm. If it is really hard, please look at each other with appreciation. You can be honest with each other and communicate sincerely. Maybe the other person will be moved by your sincerity and can bring you some inspiration. No one is absolutely perfect. It is also possible that you have something he envies, so why bother yourself. Open your heart and live a happy life is the right way.