That's not how most people understand the phrase.
"Virtue signaling is the act of expressing moral opinions or stances, especially on social media, with the primary goal of demonstrating one's good character or moral superiority to gain social approval, often without taking meaningful action to support the cause.
The term is typically used pejoratively to suggest the expressed morality is insincere or motivated by vanity rather than genuine conviction."