In fact, we are all classmates. Now that he has shown it to the teacher and got the teacher's permission, you have nothing to make up for now. I suggest you let him show off, don't hurt your feelings for this matter. Anyway, you have the strength, and there will be plenty of opportunities in the future. Don't worry for a while, but gold will always shine.
At the same time, you can get to know your deskmate better and know what kind of person he is. Just pay attention to yourself in the future and don't get too close to him.