to no good purpose
idiomDefinition of to no good purpose
: in a way that is not good or helpful
She used her skills to no good purpose.