It has become prevalent to use "failing fast" as jargon for "learning". It is not valuable to fail. Failure means "lack of success". It doesn't mean learning.
When something fails, it is common to identify the failure, and then state that you learned from the failure.
You learn nothing from failure.
Perhaps you have a theory on why you've failed, then make an effort to fix the failure. If you are successful, you will have learned something.
You learned from the success, not the failure. Failure is not sufficient, or even required, for success.
To succeed, prefer to study success. Avoid studying failure, it is a waste of time.