moral victory

noun
1
a situation in which your ideas or principles are proved to be right and fair, even though you may not have succeeded where practical results are considered
پیروزی اخلاقی