It's normal not to meet a confidant. Many people seem to have many friends all their lives, but in fact they don't have a confidant. I understand your feeling of loneliness. First of all, you can try to be friends with your classmates, just friends, not necessarily bosom friends. You can talk about your hobbies in your study, because friends always start with friends, and you will never get a friend unless you take the first step. In addition, if you want to find someone who can let you speak freely, you can write down some of your thoughts, keep a diary or post them online, show them to yourself and communicate with yourself, or someone online may understand you and communicate with you; Of course, you can also read more things that interest you, such as books, movies and even video games.
Don't be so depressed. Everyone is confused sometimes. It is important to adjust yourself in time.