It means: Solving your problem first > Solving others' problems (that don't affect you). The reasoning is that you are an expert in problems that affect you.
If the problem affects the whole world, including yourself, then it falls in the left bucket.
If the problem affects the whole world, including yourself, then it falls in the left bucket.