We definitely don’t deserve to be in a relationship where in only you are the person who is giving love. It’s good that you have confessed your feelings if not then do so because it will make you feel lighter. Make yourself understand that we cannot make someone love us the way we feel for them. It’s always good to focus on yourself and understand that you also need to be valued.
Well, i know it hard and emotionally draining to be inlove with someone who doesn't feel the same, but it's okay. You'll feel sad and stuck for a while but you need to work on your mind and distract yourself as much as possible, with time you'll find out that you dont deserve this and you deserve much more.