Hello and welcome to MKF! For starters, a four-inch Oscar plus a goldfish equals enough waste to max out a forty gallon tank. Goldfish produce three times the ammonia as most tropical fish, ounce for ounce. The Oscar will grow faster than you can upgrade, usually adding an inch per month. For one Oscar all by itself, a 75g tank is the recommended minimum.
Buy a test kit or take your water to the pet store and get the actual numbers for ammonia, nitrite and nitrate levels. If they tell you, "You're water is fine.", ask again for the actual numbers. You should have no ammonia or nitrites and very low amounts of nitrates if your tank is properly cycled.
Also, goldfish are temperate and Oscars are tropical. The 77ºF your Oscar would be best kept at is too warm for long-term goldfish health.
Oh, and avoid goldfish as food. They carry too many diseases to be used safely unless you are raising them yourself.
Your fish are probably not eating because of stress, either from ammonia in the water or some other cause of deoxygenation. They are suffocating and air matters more than food.