If you’re concerned about whether to focus on insourcing or outsourcing, I have some advice for you: don’t get too hung up it!
Regardless of what you choose, it need not be a permanent decision. In fact, your choice and direction may continuously change over time as your business strategy evolves, regardless of whether the enterprise or function is growing, pivoting, or throttling back.
Internal vs. External
There are many important factors that make it good to execute certain tasks internally: secret sauce, intellectual property, or just a gut feeling are all valid reasons.
Keeping those tasks internal will more likely align with keeping things the way they are, because generally there is very little you need to change or consider in order to maintain the status-quo.