To raise a resilient child you need more resilient factors than risk factors to give them the best chance of success.
All of the good things you do for your pēpi adds resilience factors.
It’s important not to beat yourself up if you have a few ‘risk factors’. Work on recognising and strengthening the things you know will improve the outcomes for your pēpi.