You will contribute to the body of scientific knowledge that now exists. Remember, many science projects have won science fairs with a failed hypothesis. The student thought there would be a certain outcome. After experimenting, the student disproved the hypothesis. It is not failure to have a failed hypothesis.
Scientists often prove themselves wrong.
The only failure is to quit, or come to false conclusions based on sloppy data. The science process is more important than the the final product. What was the data when you did the experiment or project. This shows your ability to follow the scientific method. There are times when we cannot control all the forces working in a situation, yet we want to learn what is happening and why.