A gaming phone will obviously need more RAM, that’s why ROG phones etc. have 12 GB or more. I currently have 8 GB, which is definitely more than enough for “normal” gaming, with spotify open in the BG. My old phone had 3 GB, which was OK for gaming, and perfect for other tasks. With newer Android versions and newer system apps that would be different tho. In general, all manufacturers will deliver enough RAM, so you can just ignore that specification in your use case, and focus on support length, size and camera quality.