Become an entrepreneur. Following the rules that everyone else blindly follows is not satisfactory. I completely empathize with you. Being failed for not following instructions while probably knowing more than your peers and maybe professor.
Use LinkedIn to find founders who work on a startup doing something you find interesting. Cold message them and let them know you want to work for whatever they will pay (don’t devalue yourself from step 1 and offer to do it free - you might get a probationary offer or low per hour rate) and see how you can be useful.
People like us need to channel our energy into building stuff that does solves problems in a new and better way than what everyone else’s doing.
I always thought something was wrong with me for leaving whatever I found better than before and not being rewarded for it because I operate in non traditional ways. Only when I decided to say F it and did that for myself did I start to find happiness. You have no idea how amazing it feels when you find your first customers. I am from a poor family so had to figure it out all myself and I’m still learning everyday. It’s awesome. I hope you find the same outlet for yourself.
Good luck. Happy new year bro.