Everything you do in this world you will take the responsibility in the hereafter fairly. You will only bear what you do. You will not bear the blame for others.
Allah ﷻ says,
وَلَا تَكْسِبُ كُلُّ نَفْسٍ إِلَّا عَلَيْهَا ۚ وَلَا تَزِرُ وَازِرَةٌ وِزْرَ أُخْرَىٰ
“And no person earns any (sin) except against himself (only), and no bearer of burdens shall bear the burden of another” [al-An’am 6:164].
No person does a bad deed unless his sin is on him. And a sinful soul does not bear the sin of another soul. Then, everyone will return to Allah on the Day of Resurrection [Tafseer al-Muyassar].
Every soul does not reap except what was his sin on the doer. [and no bearer of burdens shall bear the burden of another] means someone does not carry other’s responsibility. Means, no one will carry other’s sins [Tafseer al-Bagawi].
So, keep the good deeds. Stay away from bad deeds. And be prepare to be responsible of all your deeds.
Homelessness starts at home. You only need $5 to start donating! ussunnah.org/orphan