There will always be those who will criticize you for being selfish. And while I encourage you to help as many people as you possibly can. You have to look out for yourself first. The downside of helping other people, is that in most cases they won’t do the same for you.
It’s not that they don’t want to help. They just have too many things on their plate. Learn to focus on covering your bases. Making sure you have all you need to survive. Then and only then, focusing what you can do for others.
Having your basic needs taken care of will allow you to truly focus on other people. Even more important, not needing anything back will allow you to understand where they are coming from. Why they seem to be so focused on themselves despite your help.
Get to the top. only when you have seen what’s up there, you’ll be able to help others.