The Bible calls this virtue signaling and Jesus gave a lesson about it in Luke 18:9-14
When the Hateful Think They Are the Virtuous
“Trumpites next door to our pandemic getaway … just plowed our driveway without being asked and did a great job,” wrote a columnist, launched into a journey of angst and rage by this kindness.