Mom's Bean Salad

2 cans wax beans

1 large can kidney beans

1 large onion

1/2 green pepper

1 stalk celery

For the brine:

3/4 cup sugar

1/2 cup vinegar

1/4 cup salad oil