It can be done, but it's not trivial. Technically, in order to be able to route payments, you need liquidity in both directions, incoming as well as outgoing. If you just funded two channels, you only have outgoing liquidy now (all the money is on your side).
There are many ways to gain incoming liquity. You could spend or swap the funds in your channels (or a part of them). You could ask someone to open a channel to you (https://lnbig.com seem to give these away for free). You could buy liquidy from https://lightning.engineering/posts/2020-11-02-lightning-pool/.
But that's just the beginning. If you really want to contribute, you need to always manage your node so that it provides routes where people need them. This is an art and you can surely find more hints by googling.
There are some developments underway to automate this process. If you used c-lightning instead of LND, you could try the clboss plugin, which has the goal of making all these choices without user input. Your mileage may vary.