sacrificial
Sacrificial means to give something up in order to gain something else. In some religions, sacrificing something important is a way to show your devotion to the gods.
The statue was destroyed in order to create a sacrificial altar for the gods.
She sacrificed her time to help the other students, even though it meant that she would be late for her own class.