I have to disagree with you emphasizing this point. If someone/entity manages to get your idea or code, they may be able to sell the solution at a fraction of the cost since their R&D was lower than yours. When the entity is 10x+ your size, they can also afford to gather the resources that increase their odds of success (e.g. marketing specialists, engineers,etc) at a rate which you can't compete. By then, you may have spent 2-3 years creating a business that is destroyed by an external entity acting in bad faith.
These things happen quite often.