Mediocre in what sense? It could be a self-image issue. Maybe you are underselling yourself? I've found a lot of developers tend to do that as they don't know their real value.
You should also consider your current market. Making 100k per year may or may not be a lot of money depending on living costs and what you need to cover yourself. It would be a huge salary in northern Europe but not so in the heart of Silicon Valley.
It's good to note that certain countries implement support systems so that you don't have to earn a lot and your family is still secure and supported by the government. It depends on the value system of the country and how it has been built.
To answer your question, I would focus on the following: