Psychologist Walter Mischel conducted the marshmallow experiment at Stanford University in the 1960s to early 1970s. It was a simple test that aimed to define the connection between delayed gratification and success in life.
https://helpfulprofessor.com/psychology-experiments-and-case-studies/