Peter Thiel has a great talk at YCombinator on how "Competition is for Losers": https://www.youtube.com/watch?v=3Fx5Q8xGU8k
If you're looking to bootstrap a passive-income business as a solo developer, it's not as useful. In fact I'd flip his advice on his head and instead of "Build a Platform" say "Build a successful and revenue positive business off someone else's platform with the aim of being acquired by it some day."
On the otherhand, it is nearly impossible to not having competitors. Especially for young companies. Since most of the human needs (or demand) already have the solution (or supply)