Credit for trying
Most of the time, you’re not going to get credit for trying.
But you do get something. You get experience. You get the opportunity to learn. You get the thrill of doing something that might not work.
And you get to flex your persistence muscle, which will get stronger over time.
Credit or no, your willingness to try is worth something. It might even turn out to be worth a lot.