Fundraising is about focus. If you are in a fundraising mode and applying to YC, great. Would learn a lot, and I think it makes sense to do that. When fundraising, many rejections are great. When not fundraising and a VC reaches out, it's distracting. How is the case different here? PG himself says so [1]
When you are building and selling a product, shifting your focus to fundraising in the middle (and not committing to it) is stupidity and would leave you to neither be able to build/sell well or fundraise well. It's a mindset shift, and one of PG's essays talk about that too.
Problem is not with rejection. Rejection from the customers is what motivates people. I am not motivated by "wanting to show others they are wrong", but by solving a problem, creating value, and impacting people. What you wrote is a weak justification for the time you spent on application - that could have spent on building product or a sales pitch.
Again, my point is not rejection but distraction. It's about focus. When you are in the middle of building, it's unhelpful to just fill out an application for "what if". Don't do it. Most entrepreneurs know when they are fundable.
[1]: https://paulgraham.com/fr.html